;------------------------BALANCE DATA----------------------------
;------------ File converted by The Dead Player ----------------
;---------- Using MacroRenamer by 2playgames----------------
;--------------------------------------------------------------------
; About: all macros are renamed with a M_ in front of them
; thanks to that, modders can easily change the gamedata.ini 
; values using the -mod command! ----------------------------
;-------------------------------------------------------------------
;------------------ More informations here:---------------------
;--- http://forums.revora.net/index.php?showtopic=45037 --
;-------------------------------------------------------------------
;------------------------ Please visit: ----------------------------
;------------------ http://the3rdage.net ------------------------
;------------ http://www.bartvanheukelom.nl ------------------
;-------------------------------------------------------------------

; Region Bonuses
#define M_DEFAULT_REGION_RESOURCE_BONUS			10
#define M_DEFAULT_REGION_ARMY_BONUS_GOOD			20
#define M_DEFAULT_REGION_ARMY_BONUS_EVIL			50
#define M_DEFAULT_REGION_LEGENDARY_BONUS			1

#define M_SPELL_DARKNESS_DURATION				180000
#define M_SPELL_FREEZINGRAIN_DURATION			180000
#define M_SPELL_CLOUDBREAK_DURATION			30000

#define M_SPECIALPOWER_DEVASTATION_RADIUS			180	; balance
#define M_SPECIALPOWER_DEVASTATION_ENT_DAMAGE		800 	; balance

#define M_ENSHROUDING_MIST_EFFECT_RADIUS			150

#define M_BURNINGDEATH_WANDERSPEED_INFANTRY		50
#define M_BURNINGDEATH_DURATION_INFANTRY			5000

#define M_BURNINGDEATH_WANDERSPEED_CAVALRY		75
#define M_BURNINGDEATH_DURATION_CAVALRY			2500

#define M_BURNINGDEATH_WANDERSPEED_ENT			75
#define M_BURNINGDEATH_DURATION_ENT			2500

;------------------------GENERIC UNITS/STRUCTURES---------- 

#define M_SENTRY_TOWER_COST				500
#define M_SENTRY_TOWER_BUILDTIME				30

#define M_SHROUD_CLEAR_STANDARD				25
#define M_SHROUD_CLEAR_MACHINE				250
#define M_SHROUD_CLEAR_ARTILLERY				400
#define M_SHROUD_CLEAR_HERO				300
#define M_SHROUD_CLEAR_HOBBIT				160
#define M_SHROUD_CLEAR_BASE_DEFENSE			500
#define M_SHROUD_CLEAR_FLIER				600
#define M_SHROUD_CLEAR_RANGED_HERO			500
#define M_SHROUD_CLEAR_ENT				650
#define M_SHROUD_CLEAR_GIANT				400
#define M_SHROUD_CLEAR_TROLL				400
#define M_SHROUD_CLEAR_TRANSPORTSHIP			200
#define M_SHROUD_CLEAR_BATTLESHIP				600
#define M_SHROUD_CLEAR_SKULL_TOTEM			400

#define M_VISION_STANDARD_TOMBOMB				250
#define M_VISION_STANDARD_MELEE				175
#define M_VISION_STANDARD_HORSE				175
#define M_VISION_STANDARD_LARGE_ANIMAL			175
#define M_VISION_STANDARD_SHORT				200
#define M_VISION_HERO_RANGED				450
#define M_VISION_HERO_STANDARD				175
#define M_VISION_FLIER					400
#define M_VISION_BASE_DEFENSE				600
#define M_VISION_HOBBIT					100
#define M_CREEP_VISION					150
#define	M_VISION_ENT					500

#define M_STANDARD_HORDE_EXIT_DELAY			10

#define M_STANDARD_WALL_STAGGERED_BUILD_FACTOR		20 
#define M_STANDARD_CFH_RADIUS				200

#define M_EMOTION_CHEER_RADIUS				100
#define M_ARCHER_FEAR_SCAN_RADIUS				30
#define M_INFANTRY_FEAR_SCAN_RADIUS			100
#define M_CAVALRY_FEAR_SCAN_RADIUS			30
#define M_INFANTRY_TAUNT_POINT_RADIUS			100


#define M_DEFAULT_STRUCTURE_HEALDELAY			300

#define M_GENERIC_FACTION_GARRISONABLE			ANY +INFANTRY +BANNER -CAVALRY -SUMMONED -WildSpiderling -WildSpiderlingHorde -COMBO_HORDE -IsengardSharku -AngmarThrallMaster ;+BarrowWight +BarrowWight_Slaved 
#define M_GENERIC_FACTION_SLAUGHTERABLE			ANY +INFANTRY +CAVALRY -HERO -DOZER -SUMMONED
#define M_GENERIC_BUFF_RECIPIENT_OBJECT_FILTER		ANY +INFANTRY +CAVALRY -MACHINE -IMMOBILE -DOZER -HERO -STRUCTURE -BASE_FOUNDATION -HORDE -DwarvenBattleWagon -RohanOathbreaker -MordorRamCrew +MordorWorker -IsengardRamCrew -IsengardBeserker -DwarvenZerker -DwarvenZerkerHorde -NoldorWarrior -NoldorWarriorHorde -GondorKnightsofDol -GondorKnightsofDolHorde -WildBabyDrake -WildBabyDrakeHorde -MordorBlackRider -MordorBlackRiderHorde -IsengardFanatic -IsengardBerserkerHorde 

												; Afraid of objects must be SCARY kindof as well.
#define M_EMOTION_AFRAIDOF_OBJECTFILTER			NONE +GondorGwaihir +RohanTreeBerd +RohanEntFir +RohanEntAsh +RohanEntBirch +MordorBalrog +MordorFellBeast +AngmarWitchking +MordorWitchKingOnFellBeast +MordorCaveTroll +MordorMountainTroll +MordorDrummerTroll +MordorMumakil +MordorGateWatchersExpansion +BarrowWight +NecromancerStatue +GoblinCaveTroll +SpellBookArrowVolley +TomBombadil +TomBombadil_Summoned +GoblinCaveTroll_FromTrollLair +CaveTroll_Slaved +ElvenVigilantEnt +RohanGenericEnt +RohanEntFir_Summoned +RohanEntBirch_Summoned +EvilMenBlackRider +CreateAHero
#define M_EMOTION_ALWAYS_AFRAIDOF_OBJECTFILTER		NONE +MordorBalrog +RohanOathbreaker 
#define M_EMOTION_POINTAT_OBJECTFILTER			NONE +MordorFellBeast +MordorWitchKingOnFellBeast +GondorGwaihir +MordorGateWatchersExpansion +SpellBookArrowVolley +AngmarWitchking

#define M_CREEP_OBJECTFILTER		 		ANY +SnowTrollLair +HillTrollLair +SnowTrollLairSnow +HillTrollLairSnow +CaveTrollLair +MoriarGoblinLair +WargLair +SpiderLair +BarrowWightLair +FireDrakeLair +MoriarGoblinLairSnow +CaveTrollLairSnow +NeutralWarg +BarrowWight_Slaved +FireDrake_Slaved +MordorGoblinSwordsman_Slaved +MordorGoblinArcher_Slaved +MinorSpider_Slaved +CaveTroll_Slaved ENEMIES
#define M_NOT_CREEP		 			-SnowTrollLair -HillTrollLair -CaveTrollLair -MoriarGoblinLair -WargLair -SpiderLair -BarrowWightLair -FireDrakeLair -MoriarGoblinLairSnow -CaveTrollLairSnow -NeutralWarg -BarrowWight_Slaved -FireDrake_Slaved -MordorGoblinSwordsman_Slaved -MordorGoblinArcher_Slaved -MinorSpider_Slaved -CaveTroll_Slaved 
#define M_NOT_FLYING_UNITS				-Drogoth -GondorGwaihir_Summoned -GondorGwaihir -MordorFellBeast -MordorWitchKingOnFellBeast -ElvenFortressEagle -SpellBookDragonStrikeDragon -KhamulFellBeast -MorgomirFellBeast
#define M_AFFECTED_BY_POISON_OBJECTFILTER			ALL -MACHINE -STRUCTURE -SHIP -MordorSauron -MordorWitchKing -MordorWitchKingOnFellBeast -MordorRingWraith -MordorRingWraithNoGlow -EvilMenBlackRider -BarrowWight -RohanOathbreaker -IsengardDeployedExplosiveMine -MordorBalrog
#define M_AFFECTED_BY_POISON_CASTABLE			ALL -MACHINE -STRUCTURE -SHIP ;// this needed because th poison weapon also does damage, which we still want to be able to do on poison-immune units
#define M_DEFAULT_POISON_DAMAGE				10
#define M_GOBLIN_FIGHTER_POISON_DAMAGE			6	; originally 4
#define M_SHELOB_POISON_DAMAGE				300
#define M_GORKIL_POISON_DAMAGE				100
#define M_POISONED_STINGER_DURATION			15000

#define M_POSTERNGATE_ALLOWABLE_OBJECTFILTER		ANY +INFANTRY +CAVALRY +WildFireDrake_Summoned +WildFortressFireDrake +BarrowWight +BarrowWight_Slaved +GoblinCaveTroll +MordorWitchKing +AngmarWitchking +IsengardSharku +MordorSauron_RingHero -MONSTER -MACHINE -ARMY_OF_DEAD

#define M_FORTRESS_RING_STEALER_OBJECTFILTER		NONE ENEMIES +NeutralGollum_RingStealer

#define M_TRANSPORTSHIP_PASSENGER_OBJECTFILTER		ANY +INFANTRY +CAVALRY +HERO -ElvenGaladriel_RingHero -MONSTER -SUMMONED -AngmarThrallMaster +MordorWitchKing ; +BarrowWight +BarrowWight_Slaved

#define M_NO_SUMMON_NEAR_OBJECT_FILTER			ANY +RohanOathbreaker +ElvenGaladriel +ElvenGaladriel_RingHero +MordorSauron +MordorSauron_RingHero +MordorBalrog +MordorBalrogEggPlaceHolder +Wyrm +MordorMumakil +WatcherHead +WatcherHittingArm +WatcherEggPlaceHolder +WatcherCaldera +SummonedDragon +SummonedDragonJH1 +SummonedDragonEggPlaceHolder
#define M_NO_SUMMON_UNDERMINE_NEAR_OBJECT_FILTER		ANY +RohanOathbreaker +ElvenGaladriel +ElvenGaladriel_RingHero +MordorSauron +MordorSauron_RingHero +MordorBalrog +MordorBalrogEggPlaceHolder +Wyrm +MordorMumakil +WatcherHead +WatcherHittingArm +WatcherEggPlaceHolder +WatcherCaldera +SummonedDragon +SummonedDragonJH1 +SummonedDragonEggPlaceHolder //+STRUCTURE
#define M_NO_SUMMON_CITADEL_NEAR_OBJECT_FILTER		ANY +RohanOathbreaker +ElvenGaladriel +ElvenGaladriel_RingHero +MordorSauron +MordorSauron_RingHero +MordorBalrog +MordorBalrogEggPlaceHolder +Wyrm +MordorMumakil +WatcherHead +WatcherHittingArm +WatcherEggPlaceHolder +WatcherCaldera +SummonedDragon +SummonedDragonJH1 +SummonedDragonEggPlaceHolder //+STRUCTURE
#define M_NO_SUMMON_STRUCTURE_NEAR_OBJECT_FILTER		ANY +RohanOathbreaker +ElvenGaladriel +ElvenGaladriel_RingHero +MordorSauron +MordorSauron_RingHero +MordorBalrog +MordorBalrogEggPlaceHolder +Wyrm +MordorMumakil +WatcherHead +WatcherHittingArm +WatcherEggPlaceHolder +WatcherCaldera +SummonedDragon +SummonedDragonJH1 +SummonedDragonEggPlaceHolder +INFANTRY +HERO +CAVALRY +MONSTER +MACHINE //+STRUCTURE


;--------------For summon allies-------------------

#define M_NO_SUMMON_ALLIES_NEAR_THESE			ANY +STRUCTURE

#define M_INSTANT_DEATH_ON_METAIMPACT_OBJFILTER		ANY +PORTER +DwarvenBattleWagon +DwarvenDemolisher +DwarvenCatapult +GondorTrebuchet +IsengardExplosiveMine +IsengardBallista +IsengardBatteringRam +MordorCatapult +MordorBatteringRam +MordorRamCrew +IsengardRamCrew +AngmarTrollSling

#define M_ATTACK_TROLL_DOMINATE_OBJECT_FILTER		ANY +MordorMountainTroll +GoblinCaveTroll +MordorDrummerTroll +CaveTroll_Slaved +AngmarSnowTroll +AngmarSnowTrollHorde +SnowTroll_Slaved +AngmarHillTroll +AngmarHillTrollHorde +HillTroll_Slaved
#define M_ROGASH_DOMINATE_OBJECT_FILTER			ANY +MordorMountainTroll +GoblinCaveTroll +MordorDrummerTroll +CaveTroll_Slaved +AngmarSnowTroll +AngmarSnowTrollHorde +SnowTroll_Slaved +AngmarHillTroll +AngmarHillTrollHorde +HillTroll_Slaved +MordorAttackTroll



#define M_KINGSFAVOR_OBJECTFILTER				ANY +CAVALRY +INFANTRY -STRUCTURE -CASTLE_KEEP -BASE_FOUNDATION -HERO -MOVE_ONLY -DOZER ALLIES

#define M_HOBBIT_KINDOF					PRELOAD SELECTABLE CAN_CAST_REFLECTIONS INFANTRY PATH_THROUGH_EACH_OTHER SCORE THROWN_OBJECT HERO HOBBIT ATTACK_NEEDS_LINE_OF_SIGHT HEAVY_MELEE_HITTER


#define M_HERO_HEAL_AMOUNT				30
#define M_NAZGUL_HEAL_AMOUNT				60
#define M_MONSTER_HEAL_AMOUNT				40
#define M_HERO_HEAL_DELAY					15000

#define M_MONSTER_HEAL_DELAY				15000

#define M_HERO_DODGE_PERCENT				50

#define M_CASTLE_WALL_REBUILD_TIME			180.0
#define M_CASTLE_WALL_REBUILD_COST			2000.0

#define M_STEALTH_FRIENDLY_OPACITY_MIN			100.0%
#define M_STEALTH_FRIENDLY_OPACITY_MAX			100.0%

#define M_CAMOUFLAGE_RADIUS				100.0
#define M_ELVEN_MIST_CAMOUFLAGE_DETECTION_RANGE		100.0
#define M_ELVEN_MIST_OBJECT_FILTER			ANY +HORDE +HERO +DOZER +RohanEntFir_Summoned +RohanEntBirch_Summoned +RohanEntFir +RohanEntBirch +RohanEntAsh +MordorMountainTroll +MordorDrummerTroll +MordorAttackTroll +WildMountainGiant +GoblinCaveTroll +CaveTroll_Slaved +MordorCaveTroll_Summoned +MordorAttackTroll_Summoned +WildMountainGiant_Summoned -Drogoth -GondorGwaihir_Summoned -GondorGwaihir -MordorFellBeast -MordorWitchKingOnFellBeast -ElvenFortressEagle -SpellBookDragonStrikeDragon -KhamulFellBeast -MorgomirFellBeast ALLIES

#define M_CAMOUFLAGE_DETECTION_DISTANCE_SHORT		0.5
#define M_CAMOUFLAGE_DETECTION_DISTANCE_SHORTISH		0.8
#define M_CAMOUFLAGE_DETECTION_DISTANCE_DEFAULT		1.0		// everything has this by default.
#define M_CAMOUFLAGE_DETECTION_DISTANCE_SHEDIUM		1.5		// not quite short and not quite medium so shedium.
#define M_CAMOUFLAGE_DETECTION_DISTANCE_MEDIUM		2.0		
#define M_CAMOUFLAGE_DETECTION_DISTANCE_LONG		3.0

#define M_GENERIC_KEEP_MONEY_TIME 			6000
#define M_GENERIC_KEEP_MONEY_AMOUNT			25
#define M_GENERIC_KEEP_MONEY_RANGE			50

#define M_PORTER_FIRE_EXTINGUISHER_DECREASEBURNRATE_RADIUS 	100.0
#define M_PORTER_FIRE_EXTINGUISHER_DECREASEBURNRATE_AMOUNT 	100.0
#define M_PORTER_FIRE_EXTINGUISHER_ABILITY_START_RANGE	 	115 	; // should be greater than M_PORTER_FIRE_EXTINGUISHER_DECREASEBURNRATE_RADIUS

#define M_GENERIC_STATUE_COMMAND_POINT_BONUS		10
#define M_GENERIC_ECONOMY_COMMAND_POINT_BONUS		50
#define M_GENERIC_FORTRESS_COMMAND_POINT_BONUS		100
#define M_DORMITORY_COMMAND_POINT_BONUS			25
#define M_OUTPOST_COMMAND_POINT_BONUS			25

#define M_SHOCKWAVE_RESISTANCE_WEAK			20
#define M_SHOCKWAVE_RESISTANCE_STRONG			74
#define M_SHOCKWAVE_RESISTANCE_IMMUNE			99
#define M_SHOCKWAVE_RESISTANCE_ALWAYS			9999 		; always resist meta-impact

#define M_DWARVENRICHES_EFFECT_RADIUS			100

#define M_INDUSTRY_TYPE_SPELL_OBJECT_FILTER		ANY +GondorFarm +DwarvenMineShaft +ElvenMallornTree +WildMineShaft +IsengardFurnace +MordorSlaughterHouse +ArnorFarm +AngmarMill ALLIES
#define M_INDUSTRY_EFFECT_RADIUS				200.0

#define M_ARCHER_BOMBARD_SCATTER_RADIUS			30
#define M_ARCHER_BOMBARD_FIREARROW_BURNRATEINCREASE	20

#define M_SELECTION_PRIORITY_CREBAIN 1
#define M_SELECTION_PRIORITY_MORDOR_WORKER 2
#define M_SELECTION_PRIORITY_PORTER 3

#define M_SPELLBOOK_TAINT_RADIUS				175
#define M_SPELLBOOK_TAINT_TIME				300000		; ms = 5 minutes

#define M_ATHELAS_HEAL_AMOUNT				600

#define M_MONUMENT_FORTRESS_HEALTH			7500
#define M_MONUMENT_FORTRESS_HEALTH_DAMAGED		3750
#define M_MONUMENT_FORTRESS_HEALT_REALLY_DAMAGED	1875

#define M_MONUMENT_FORTRESS_GATE_BUILDCOST		1500

#define M_STANDARD_MELEE_ATTACK_RANGE			11.5		// This should be used by most melee units in the game...

//-----------------------Generic Experience Values-----------------

#define M_PLAYER_MAX_PURCHASE_POINTS_DEFAULT		150		// 150 = (3 * 5) + (4 * 10) + (3 * 15) + (2 * 25)
#define M_PLAYER_MAX_PURCHASE_POINTS_EVIL			225		// 230 = (5 * 5) + (6 * 10) + (5 * 15) + (4 * 25) - 5	( 5 is starting value)
#define M_PLAYER_MAX_PURCHASE_POINTS_GOOD			201		// 205 = (4 * 5) + (5 * 10) + (4 * 15) + (3 * 25) - 4	(rounding error)
#define M_PLAYER_PURCHASE_POINTS_GRANTED			1		// 3			// Amount per rank SciencePurchasePointsGranted
#define M_PLAYER_SKILL_POINTS_DELTA_DEFAULT		60  		// 125 Why was this 42 	// Amount to take to next rank SkillPointsNeededDefault
#define M_PLAYER_SKILL_POINTS_DELTA_CAMPAIGN		100 		// 133 400		// Amount to take to next rank SkillPointsNeededCampaign

#define M_EXPERIENCE_REQUIRED_EVIL_WEAK_1			1
#define M_EXPERIENCE_REQUIRED_EVIL_WEAK_2			40
#define M_EXPERIENCE_REQUIRED_EVIL_WEAK_3			80
#define M_EXPERIENCE_REQUIRED_EVIL_WEAK_4			120
#define M_EXPERIENCE_REQUIRED_EVIL_WEAK_5			160

#define M_EXPERIENCE_AWARD_EVIL_WEAK_1			1
#define M_EXPERIENCE_AWARD_EVIL_WEAK_2			2
#define M_EXPERIENCE_AWARD_EVIL_WEAK_3			3
#define M_EXPERIENCE_AWARD_EVIL_WEAK_4			4
#define M_EXPERIENCE_AWARD_EVIL_WEAK_5			5

#define M_EXPERIENCE_REQUIRED_EVIL_TROOP_1		1
#define M_EXPERIENCE_REQUIRED_EVIL_TROOP_2		50
#define M_EXPERIENCE_REQUIRED_EVIL_TROOP_3		100
#define M_EXPERIENCE_REQUIRED_EVIL_TROOP_4		150
#define M_EXPERIENCE_REQUIRED_EVIL_TROOP_5		200

#define M_EXPERIENCE_AWARD_EVIL_TROOP_1			3
#define M_EXPERIENCE_AWARD_EVIL_TROOP_2			4
#define M_EXPERIENCE_AWARD_EVIL_TROOP_3			5
#define M_EXPERIENCE_AWARD_EVIL_TROOP_4			6
#define M_EXPERIENCE_AWARD_EVIL_TROOP_5			7

#define M_EXPERIENCE_REQUIRED_EVIL_ELITE_1		1
#define M_EXPERIENCE_REQUIRED_EVIL_ELITE_2		60
#define M_EXPERIENCE_REQUIRED_EVIL_ELITE_3		120
#define M_EXPERIENCE_REQUIRED_EVIL_ELITE_4		180
#define M_EXPERIENCE_REQUIRED_EVIL_ELITE_5		240

#define M_EXPERIENCE_AWARD_EVIL_ELITE_1			5
#define M_EXPERIENCE_AWARD_EVIL_ELITE_2			6
#define M_EXPERIENCE_AWARD_EVIL_ELITE_3			7
#define M_EXPERIENCE_AWARD_EVIL_ELITE_4			8
#define M_EXPERIENCE_AWARD_EVIL_ELITE_5			9

#define M_EXPERIENCE_REQUIRED_EVIL_MONSTER_1		1
#define M_EXPERIENCE_REQUIRED_EVIL_MONSTER_2		70
#define M_EXPERIENCE_REQUIRED_EVIL_MONSTER_3		140
#define M_EXPERIENCE_REQUIRED_EVIL_MONSTER_4		210
#define M_EXPERIENCE_REQUIRED_EVIL_MONSTER_5		280

#define M_EXPERIENCE_AWARD_EVIL_MONSTER_1			30
#define M_EXPERIENCE_AWARD_EVIL_MONSTER_2			40
#define M_EXPERIENCE_AWARD_EVIL_MONSTER_3			50
#define M_EXPERIENCE_AWARD_EVIL_MONSTER_4			60
#define M_EXPERIENCE_AWARD_EVIL_MONSTER_5			70

#define M_EXPERIENCE_AWARD_EVIL_MUMAKIL_1			50
#define M_EXPERIENCE_AWARD_EVIL_MUMAKIL_2			60
#define M_EXPERIENCE_AWARD_EVIL_MUMAKIL_3			70
#define M_EXPERIENCE_AWARD_EVIL_MUMAKIL_4			80
#define M_EXPERIENCE_AWARD_EVIL_MUMAKIL_5			90

#define M_EXPERIENCE_REQUIRED_EVIL_HORSE_1		1
#define M_EXPERIENCE_REQUIRED_EVIL_HORSE_2		140  	; 
#define M_EXPERIENCE_REQUIRED_EVIL_HORSE_3		280 	; 
#define M_EXPERIENCE_REQUIRED_EVIL_HORSE_4		420 	; 
#define M_EXPERIENCE_REQUIRED_EVIL_HORSE_5		560 	; 

#define M_EXPERIENCE_AWARD_EVIL_HORSE_1			8
#define M_EXPERIENCE_AWARD_EVIL_HORSE_2			9
#define M_EXPERIENCE_AWARD_EVIL_HORSE_3			10
#define M_EXPERIENCE_AWARD_EVIL_HORSE_4			11
#define M_EXPERIENCE_AWARD_EVIL_HORSE_5			12

#define M_EXPERIENCE_REQUIRED_GOOD_TROOP_1		1
#define M_EXPERIENCE_REQUIRED_GOOD_TROOP_2		50
#define M_EXPERIENCE_REQUIRED_GOOD_TROOP_3		100
#define M_EXPERIENCE_REQUIRED_GOOD_TROOP_4		150
#define M_EXPERIENCE_REQUIRED_GOOD_TROOP_5		200

#define M_EXPERIENCE_AWARD_GOOD_TROOP_1			3
#define M_EXPERIENCE_AWARD_GOOD_TROOP_2			4
#define M_EXPERIENCE_AWARD_GOOD_TROOP_3			5
#define M_EXPERIENCE_AWARD_GOOD_TROOP_4			6
#define M_EXPERIENCE_AWARD_GOOD_TROOP_5			7

#define M_EXPERIENCE_REQUIRED_GOOD_HORSE_1		1
#define M_EXPERIENCE_REQUIRED_GOOD_HORSE_2		140  	; 70 	200
#define M_EXPERIENCE_REQUIRED_GOOD_HORSE_3		280 	; 140 	400
#define M_EXPERIENCE_REQUIRED_GOOD_HORSE_4		420 	; 210	600
#define M_EXPERIENCE_REQUIRED_GOOD_HORSE_5		560 	; 280	800

#define M_EXPERIENCE_AWARD_GOOD_HORSE_1			8
#define M_EXPERIENCE_AWARD_GOOD_HORSE_2			9
#define M_EXPERIENCE_AWARD_GOOD_HORSE_3			10
#define M_EXPERIENCE_AWARD_GOOD_HORSE_4			11
#define M_EXPERIENCE_AWARD_GOOD_HORSE_5			12

#define M_EXPERIENCE_REQUIRED_DWARF_MACHINE_1		1
#define M_EXPERIENCE_REQUIRED_DWARF_MACHINE_2		50
#define M_EXPERIENCE_REQUIRED_DWARF_MACHINE_3		100 
#define M_EXPERIENCE_REQUIRED_DWARF_MACHINE_4		150 
#define M_EXPERIENCE_REQUIRED_DWARF_MACHINE_5		200 

#define M_EXPERIENCE_AWARD_DWARF_MACHINE_1		10
#define M_EXPERIENCE_AWARD_DWARF_MACHINE_2		15
#define M_EXPERIENCE_AWARD_DWARF_MACHINE_3		20
#define M_EXPERIENCE_AWARD_DWARF_MACHINE_4		25
#define M_EXPERIENCE_AWARD_DWARF_MACHINE_5		30

#define M_EXPERIENCE_REQUIRED_GOOD_ELITE_1		1
#define M_EXPERIENCE_REQUIRED_GOOD_ELITE_2		70	
#define M_EXPERIENCE_REQUIRED_GOOD_ELITE_3		140
#define M_EXPERIENCE_REQUIRED_GOOD_ELITE_4		210
#define M_EXPERIENCE_REQUIRED_GOOD_ELITE_5		280

#define M_EXPERIENCE_AWARD_GOOD_ELITE_1			5
#define M_EXPERIENCE_AWARD_GOOD_ELITE_2			6
#define M_EXPERIENCE_AWARD_GOOD_ELITE_3			7
#define M_EXPERIENCE_AWARD_GOOD_ELITE_4			8
#define M_EXPERIENCE_AWARD_GOOD_ELITE_5			9

#define M_EXPERIENCE_REQUIRED_SHIPS_1			1
#define M_EXPERIENCE_REQUIRED_SHIPS_2			150
#define M_EXPERIENCE_REQUIRED_SHIPS_3			300
#define M_EXPERIENCE_REQUIRED_SHIPS_4			500
#define M_EXPERIENCE_REQUIRED_SHIPS_5			700

#define M_EXPERIENCE_AWARD_SHIPS_1			20
#define M_EXPERIENCE_AWARD_SHIPS_2			30
#define M_EXPERIENCE_AWARD_SHIPS_3			40
#define M_EXPERIENCE_AWARD_SHIPS_4			50
#define M_EXPERIENCE_AWARD_SHIPS_5			60

#define M_EXPERIENCE_REQUIRED_MINI_HORDE_1		1
#define M_EXPERIENCE_REQUIRED_MINI_HORDE_2		90	
#define M_EXPERIENCE_REQUIRED_MINI_HORDE_3		180
#define M_EXPERIENCE_REQUIRED_MINI_HORDE_4		270
#define M_EXPERIENCE_REQUIRED_MINI_HORDE_5		360
#define M_EXPERIENCE_REQUIRED_MINI_HORDE_6		450
#define M_EXPERIENCE_REQUIRED_MINI_HORDE_7		540	
#define M_EXPERIENCE_REQUIRED_MINI_HORDE_8		630
#define M_EXPERIENCE_REQUIRED_MINI_HORDE_9		720
#define M_EXPERIENCE_REQUIRED_MINI_HORDE_10		810

#define M_EXPERIENCE_AWARD_MINI_HORDE_1			8
#define M_EXPERIENCE_AWARD_MINI_HORDE_2			9
#define M_EXPERIENCE_AWARD_MINI_HORDE_3			10
#define M_EXPERIENCE_AWARD_MINI_HORDE_4			11
#define M_EXPERIENCE_AWARD_MINI_HORDE_5			12
#define M_EXPERIENCE_AWARD_MINI_HORDE_6			13
#define M_EXPERIENCE_AWARD_MINI_HORDE_7			14
#define M_EXPERIENCE_AWARD_MINI_HORDE_8			15
#define M_EXPERIENCE_AWARD_MINI_HORDE_9			16
#define M_EXPERIENCE_AWARD_MINI_HORDE_10			17

//--------------Level Up Bonuses--------------------------

#define M_GOOD_TROOP_HP_ADD_LVL2				20
#define M_GOOD_TROOP_HP_ADD_LVL3				20
#define M_GOOD_TROOP_HP_ADD_LVL4				20
#define M_GOOD_TROOP_HP_ADD_LVL5				20

#define M_GOOD_TROOP_DAMAGE_ADD_LVL2			10
#define M_GOOD_TROOP_DAMAGE_ADD_LVL3			10
#define M_GOOD_TROOP_DAMAGE_ADD_LVL4			10
#define M_GOOD_TROOP_DAMAGE_ADD_LVL5			10

#define M_GOOD_ELITE_HP_ADD_LVL2				20
#define M_GOOD_ELITE_HP_ADD_LVL3				20
#define M_GOOD_ELITE_HP_ADD_LVL4				20
#define M_GOOD_ELITE_HP_ADD_LVL5				20

#define M_GOOD_ELITE_DAMAGE_ADD_LVL2			10
#define M_GOOD_ELITE_DAMAGE_ADD_LVL3			10
#define M_GOOD_ELITE_DAMAGE_ADD_LVL4			10
#define M_GOOD_ELITE_DAMAGE_ADD_LVL5			10

#define M_GOOD_HORSE_HP_ADD_LVL2				20
#define M_GOOD_HORSE_HP_ADD_LVL3				20
#define M_GOOD_HORSE_HP_ADD_LVL4				20
#define M_GOOD_HORSE_HP_ADD_LVL5				20

#define M_GOOD_HORSE_DAMAGE_ADD_LVL2			10
#define M_GOOD_HORSE_DAMAGE_ADD_LVL3			10
#define M_GOOD_HORSE_DAMAGE_ADD_LVL4			10
#define M_GOOD_HORSE_DAMAGE_ADD_LVL5			10

#define M_DWARF_MACHINE_HP_ADD_LVL2			250
#define M_DWARF_MACHINE_HP_ADD_LVL3			250
#define M_DWARF_MACHINE_HP_ADD_LVL4			250
#define M_DWARF_MACHINE_HP_ADD_LVL5			250

#define M_DWARF_MACHINE_DAMAGE_ADD_LVL2			50
#define M_DWARF_MACHINE_DAMAGE_ADD_LVL3			50
#define M_DWARF_MACHINE_DAMAGE_ADD_LVL4			50
#define M_DWARF_MACHINE_DAMAGE_ADD_LVL5			50

#define M_EVIL_TROOP_HP_ADD_LVL2				20
#define M_EVIL_TROOP_HP_ADD_LVL3				20
#define M_EVIL_TROOP_HP_ADD_LVL4				20
#define M_EVIL_TROOP_HP_ADD_LVL5				20

#define M_EVIL_TROOP_DAMAGE_ADD_LVL2			5
#define M_EVIL_TROOP_DAMAGE_ADD_LVL3			5
#define M_EVIL_TROOP_DAMAGE_ADD_LVL4			5
#define M_EVIL_TROOP_DAMAGE_ADD_LVL5			5

#define M_EVIL_ELITE_HP_ADD_LVL2				20
#define M_EVIL_ELITE_HP_ADD_LVL3				20
#define M_EVIL_ELITE_HP_ADD_LVL4				20
#define M_EVIL_ELITE_HP_ADD_LVL5				20

#define M_EVIL_ELITE_DAMAGE_ADD_LVL2			10
#define M_EVIL_ELITE_DAMAGE_ADD_LVL3			10
#define M_EVIL_ELITE_DAMAGE_ADD_LVL4			10
#define M_EVIL_ELITE_DAMAGE_ADD_LVL5			10

#define M_EVIL_MONSTER_RESIST_KNOCKBACK			50%

#define M_EVIL_MONSTER_HP_ADD_LVL2			50
#define M_EVIL_MONSTER_HP_ADD_LVL3			50
#define M_EVIL_MONSTER_HP_ADD_LVL4			50
#define M_EVIL_MONSTER_HP_ADD_LVL5			50
#define M_EVIL_MONSTER_HP_ADD_LVL10			50

#define M_EVIL_MONSTER_DAMAGE_ADD_LVL2			30
#define M_EVIL_MONSTER_DAMAGE_ADD_LVL3			30
#define M_EVIL_MONSTER_DAMAGE_ADD_LVL4			30
#define M_EVIL_MONSTER_DAMAGE_ADD_LVL5			30
#define M_EVIL_MONSTER_DAMAGE_ADD_LVL10			30

#define M_MINI_HORDE_HP_ADD_LVL2				20
#define M_MINI_HORDE_HP_ADD_LVL3				20
#define M_MINI_HORDE_HP_ADD_LVL4				20
#define M_MINI_HORDE_HP_ADD_LVL5				20
#define M_MINI_HORDE_HP_ADD_LVL6				20
#define M_MINI_HORDE_HP_ADD_LVL7				20
#define M_MINI_HORDE_HP_ADD_LVL8				20
#define M_MINI_HORDE_HP_ADD_LVL9				20
#define M_MINI_HORDE_HP_ADD_LVL10				20

#define M_MINI_HORDE_DAMAGE_ADD_LVL2			10
#define M_MINI_HORDE_DAMAGE_ADD_LVL3			10
#define M_MINI_HORDE_DAMAGE_ADD_LVL4			10
#define M_MINI_HORDE_DAMAGE_ADD_LVL5			10
#define M_MINI_HORDE_DAMAGE_ADD_LVL6			10
#define M_MINI_HORDE_DAMAGE_ADD_LVL7			10
#define M_MINI_HORDE_DAMAGE_ADD_LVL8			10
#define M_MINI_HORDE_DAMAGE_ADD_LVL9			10
#define M_MINI_HORDE_DAMAGE_ADD_LVL10			10


//------------ Auto resolve level up bonuses -----------------

#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL2		20
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL3		20
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL4		20
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL5		20
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL6		10
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL7		10
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL8		10
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL9		10
#define M_AUTORESOLVE_GOOD_SOLDIER_HP_ADD_LVL10		10

;// TODO: finish for other unit types


#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL2	10
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL3	10
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL4	10
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL5	10
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL6	5
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL7	5
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL8	5
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL9	5
#define M_AUTORESOLVE_GOOD_SOLDIER_DAMAGE_ADD_LVL10	5


;// TODO: finish for other unit types


;--------------Upgrade Bonuses--------------------------

#define M_AUTORESOLVE_GOOD_SOLDIER_UPGRADE_DAMAGE_ADD	40


;// TODO: finish for other unit types



;*************************************************************
;*							     *
;*			GOOD FACTIONS			     *
;*							     *
;*************************************************************


;//=========================DWARVEN===========================
;//==========================UNITS============================

;------------------------MEN OF DALE-------------------------

#define M_DWARVEN_MENOFDALE_BUILDCOST				500	;425 	; 200 	Originally 300
#define M_DWARVEN_MENOFDALE_BUILDTIME				30 	; 15
#define M_DWARVEN_MENOFDALE_HEALTH				250	;200
#define M_DWARVEN_MENOFDALE_HEALTH_DAMAGED			100
#define M_DWARVEN_MENOFDALE_HEALTH_RECOVERY_TIME			10000
#define	M_DWARVEN_MENOFDALE_VISION_RANGE 				380
#define	M_DWARVEN_MENOFDALE_HORDE_VISION_RANGE 			370

#define M_DWARVEN_MENOFDALE_PREATTACKDELAY 			1000
#define M_DWARVEN_MENOFDALE_BOW_RELOADTIME_MIN			1500
#define M_DWARVEN_MENOFDALE_BOW_RELOADTIME_MAX			2000

#define	M_DWARVEN_MENOFDALE_RANGE					380
#define	M_DWARVEN_MENOFDALE_BOMBARD_MINRANGE			150
#define	M_DWARVEN_MENOFDALE_BOMBARD_MAXRANGE			380

;Yeoman damage is doubled because they miss 50%.  
#define	M_DWARVEN_MENOFDALE_DAMAGE				75	;65	; originally 60

#define M_DWARVEN_MENOFDALE_DAMAGE_BLACKARROWS		       	120	; originally 75
#define	M_DWARVEN_MENOFDALE_MELEE_DAMAGE				5

#define	M_DWARVEN_MENOFDALE_FIRE_UPGRADE_DAMAGE			75	;50
#define	M_DWARVEN_MENOFDALE_FIRE_UPGRADE_DAMAGE_FIRE		75	;50 

#define	M_DWARVEN_MENOFDALE_BOUNTY_VALUE				10	; originally 8

;------------------------PORTER------------------------------

#define M_DWARVEN_PORTER_BUILDCOST				500
#define M_DWARVEN_PORTER_BUILDTIME				30
#define M_DWARVEN_PORTER_HEALTH					500
#define M_DWARVEN_PORTER_HEALTH_DAMAGED				250
#define M_DWARVEN_PORTER_HEALTH_RECOVERY_TIME			10000
#define	M_DWARVEN_PORTER_VISION_RANGE 				300
#define	M_DWARVEN_PORTER_SHROUD_RANGE 				100

#define	M_DWARVEN_PORTER_BOUNTY_VALUE       			125

;//------------------------AXETHROWER------------------------

#define M_DWARVEN_AXETHROWER_BUILDCOST				250
#define M_DWARVEN_AXETHROWER_BUILDTIME				20
#define M_DWARVEN_AXETHROWER_HEALTH				240
#define M_DWARVEN_AXETHROWER_HEALTH_DAMAGED			60
#define M_DWARVEN_AXETHROWER_HEALTH_RECOVERY_TIME			10000
#define	M_DWARVEN_AXETHROWER_VISION_RANGE 			375	; originally 300
#define	M_DWARVEN_AXETHROWER_HORDE_VISION_RANGE 			350	; originally 250
#define	M_DWARVEN_AXETHROWER_SHROUD_RANGE 			350
#define	M_DWARVEN_AXETHROWER_BOUNTY_VALUE        			5	; originally 4	

#define M_DWARVEN_AXETHROWER_RANGE				250
#define M_DWARVEN_AXETHROWER_BOMBARD_MINRANGE			125
#define M_DWARVEN_AXETHROWER_BOMBARD_MAXRANGE			250

#define M_DWARVEN_AXETHROWER_DAMAGE				75
#define M_DWARVEN_AXETHROWER_DAMAGE_FORGEDBLADES			150

#define M_DWARVEN_AXETHROWER_PREATTACKDELAY			800
#define M_DWARVEN_AXETHROWER_FIRINGDURATION			2400
#define M_DWARVEN_AXETHROWER_DELAYBETWEENSHOTS			2000
#define M_DWARVEN_AXETHROWER_RELOADTIME_MIN			2000
#define M_DWARVEN_AXETHROWER_RELOADTIME_MAX			3000

;//------------------------GUARDIAN--------------------------

#define M_DWARVEN_GUARDIAN_BUILDCOST				300	; originally 250
#define M_DWARVEN_GUARDIAN_BUILDTIME				30	; originally 20
#define M_DWARVEN_GUARDIAN_HEALTH					300	; originally 400
#define M_DWARVEN_GUARDIAN_HEALTH_DAMAGED				200
#define M_DWARVEN_GUARDIAN_HEALTH_RECOVERY_TIME			10000
#define	M_DWARVEN_GUARDIAN_VISION_RANGE 				175
#define	M_DWARVEN_GUARDIAN_HORDE_VISION_RANGE 			175
#define	M_DWARVEN_GUARDIAN_SHROUD_RANGE 				400

#define	M_DWARVEN_GUARDIAN_AXE					80	;50
#define M_DWARVEN_GUARDIAN_AXE_SIEGEHAMMER_VS_UNIT		10	; balance
#define M_DWARVEN_GUARDIAN_AXE_SIEGEHAMMER_VS_STRUCTURE		80	; balance
#define	M_DWARVEN_GUARDIAN_AXE_UPGRADE_INCREMENT			100
#define M_DWARVEN_GUARDIAN_AXE_PREATTACKDELAY 			500
#define M_DWARVEN_GUARDIAN_AXE_DELAYBETWEENSHOTS 			1000
#define M_DWARVEN_GUARDIAN_AXE_FIRINGDURATION 			1000
#define	M_DWARVEN_GUARDIAN_BOUNTY_VALUE        			7	; originally 4

;//------------------------PHALANX----------------------------

#define M_DWARVEN_PHALANX_BUILDCOST				350	;350	; originally 300
#define M_DWARVEN_PHALANX_BUILDTIME				30 
#define	M_DWARVEN_PHALANX_VISION_RANGE 				175
#define	M_DWARVEN_PHALANX_SHROUD_RANGE 				400
#define	M_DWARVEN_PHALANX_HORDE_VISION_RANGE 			175
#define M_DWARVEN_PHALANX_HEALTH					325	;400	; originally 500
#define M_DWARVEN_PHALANX_HEALTH_DAMAGED				125
#define M_DWARVEN_PHALANX_HEALTH_RECOVERY_TIME			10000

#define M_DWARVEN_PHALANX_STAB_PREATTACKDELAY 			600
#define M_DWARVEN_PHALANX_STAB_DELAYBETWEENSHOTS 			900
#define M_DWARVEN_PHALANX_STAB_FIRINGDURATION 			900
#define M_DWARVEN_PHALANX_STAB_DAMAGE				60	;45
#define M_DWARVEN_PHALANX_DAMAGE_UPGRADE				120	;90
;#define M_URUK_PIKE_PORCUPINE_DAMAGE				100
#define	M_DWARVEN_PHALANX_BOUNTY_VALUE				7	; originally 5

;//------------------------BATTLEWAGON----------------------

#define M_DWARVEN_BATTLEWAGON_BUILDCOST				400	;500 originally, tried 350
#define M_DWARVEN_BATTLEWAGON_BUILDTIME				30
#define M_DWARVEN_BATTLEWAGON_HEALTH				3000
#define M_DWARVEN_BATTLEWAGON_HEALTH_DAMAGED			1500
#define	M_DWARVEN_BATTLEWAGON_VISION_RANGE 			175
#define	M_DWARVEN_BATTLEWAGON_SHROUD_RANGE 			400
#define	M_DWARVEN_BATTLEWAGON_BOUNTY_VALUE			75
#define M_DWARVEN_BATTLEWAGON_SPEED				85

#define M_DWARVEN_BATTLEWAGON_DAMAGE				300 
#define M_DWARVEN_BATTLEWAGON_PREATTACKDELAY          		500  
#define M_DWARVEN_BATTLEWAGON_DELAYBETWEENSHOTS       		1000 
#define M_DWARVEN_BATTLEWAGON_FIRINGDURATION			1000 

#define M_BATTLEWAGON_OILBARREL_RANGE				150
#define M_BATTLEWAGON_OILBARREL_IMPACT_DAMAGE			200
#define M_BATTLEWAGON_OILBARREL_IMPACT_DAMAGE_RADIUS		25

#define M_DWARVEN_BATTLEWAGON_PASSENGER_PREATTACKDELAY 		500
#define M_DWARVEN_BATTLEWAGON_PASSENGER_DELAYBETWEENSHOTS 	1000
#define M_DWARVEN_BATTLEWAGON_PASSENGER_FIRINGDURATION 		1000
#define M_DWARVEN_BATTLEWAGON_PASSENGER_RANGE			30
#define M_DWARVEN_BATTLEWAGON_PASSENGER_DAMAGE			50
#define M_DWARVEN_BATTLEWAGON_PASSENGER_DAMAGE_UPGRADED	   	50

#define M_DWARVEN_BATTLEWAGON_UPGRADE_COST			250	; originally 200
#define M_DWARVEN_BATTLEWAGON_UPGRADE_TIME			10

#define M_DWARVEN_BATTLEWAGON_HEARTH_COST				400
#define M_DWARVEN_BATTLEWAGON_UPGRADE_TIME_HEARTH			45

;//------------------------BANNER---------------------------

#define M_DWARVEN_BANNER_BUILDCOST				800
#define M_DWARVEN_BANNER_BUILDTIME				30
#define M_DWARVEN_BANNER_HEALTH					400
#define M_DWARVEN_BANNER_HEALTH_DAMAGED				200
#define M_DWARVEN_BANNER_HEALTH_RECOVERY_TIME			10000
#define	M_DWARVEN_BANNER_VISION_RANGE 				175

#define	M_DWARVEN_BANNER_LVL1_EXP_AWARD 				5
#define	M_DWARVEN_BANNER_LVL2_EXP_AWARD 				6
#define	M_DWARVEN_BANNER_LVL3_EXP_AWARD 				7
#define	M_DWARVEN_BANNER_LVL4_EXP_AWARD 				8

#define	M_DWARVEN_BANNER_LVL2_EXP_NEEDED 				10000
#define	M_DWARVEN_BANNER_LVL3_EXP_NEEDED 				20000
#define	M_DWARVEN_BANNER_LVL4_EXP_NEEDED 				30000

#define	M_DWARVEN_BANNER_LVL2_HP_ADD				60
#define	M_DWARVEN_BANNER_LVL3_HP_ADD	 			60 	; 100
#define	M_DWARVEN_BANNER_LVL4_HP_ADD	 			60 	; 100

#define	M_DWARVEN_BANNER_LVL2_DAM_ADD				20
#define	M_DWARVEN_BANNER_LVL3_DAM_ADD				20
#define	M_DWARVEN_BANNER_LVL4_DAM_ADD				20 	; 30
#define	M_DWARVEN_BANNER_BOUNTY_VALUE				5

;//uses same weapon as Dwarven Guardian.  

;//---------DWARVEN BATTERINGRAM AKA DEMOLISHER-----------

#define M_DWARVEN_BATTERINGRAM_BUILDCOST				600
#define M_DWARVEN_BATTERINGRAM_BUILDTIME				30
#define	M_DWARVEN_BATTERINGRAM_VISION_RANGE 			175
#define	M_DWARVEN_BATTERINGRAM_SHROUD_RANGE 			200
#define M_DWARVEN_BATTERINGRAM_HEALTH				4000
#define M_DWARVEN_BATTERINGRAM_HEALTH_DAMAGED			2000
#define M_DWARVEN_BATTERINGRAM_HEALTH_RECOVERY_TIME		10000
#define M_DWARVEN_BATTERINGRAM_PREATTACKDELAY 			1300
#define M_DWARVEN_BATTERINGRAM_DELAYBETWEENSHOTS 			3000
#define M_DWARVEN_BATTERINGRAM_FIRINGDURATION 			1100
#define M_DWARVEN_BATTERINGRAM_DAMAGE				1000
#define	M_DWARVEN_BATTERINGRAM_BOUNTY_VALUE			150

;//------------------------CATAPULT-------------------------

#define M_DWARVEN_CATAPULT_BUILDCOST				800
#define M_DWARVEN_CATAPULT_BUILDTIME				40 
#define M_DWARVEN_CATAPULT_HEALTH					2000  	; //240
#define M_DWARVEN_CATAPULT_HEALTH_DAMAGED				100
#define	M_DWARVEN_CATAPULT_VISION_RANGE 				550

#define	M_DWARVEN_CATAPULT_LVL1_EXP_AWARD 			10

#define M_DWARVEN_CATAPULT_ROCK_PREATTACKDELAY 			800
#define M_DWARVEN_CATAPULT_ROCK_DELAYBETWEENSHOTS 		6000
#define M_DWARVEN_CATAPULT_ROCK_FIRINGDURATION 			3000

#define M_DWARVEN_CATAPULT_EXPANSION_AIM_DELTA			90

#define M_DWARVEN_CATAPULT_ROCK_MINRANGE				150

#define	M_DWARVEN_CATAPULT_ROCK_RANGE				500
#define	M_DWARVEN_CATAPULT_ROCK_DAMAGE				300	;300
#define	M_DWARVEN_CATAPULT_ROCK_DAMAGEUPGRADE			450	;300
#define	M_DWARVEN_CATAPULT_FLAME_DAMAGE				300
#define M_DWARVEN_CATAPULT_HEADS_PREATTACKDELAY 			800
#define M_DWARVEN_CATAPULT_HEADS_DELAYBETWEENSHOTS 		6000
#define M_DWARVEN_CATAPULT_HEADS_FIRINGDURATION 			3000
#define	M_DWARVEN_CATAPULT_HEADS_RANGE				420 	; //400
#define	M_DWARVEN_CATAPULT_HEADS_DAMAGE				60

#define M_DWARVEN_CATAPULT_OILBARREL_RANGE			500

#define	M_DWARVEN_CATAPULT_BOUNTY_VALUE				200

;//------------------------ZERKER--------------------------

#define M_DWARVEN_ZERKER_BUILDCOST				1500	; originally 250
#define M_DWARVEN_ZERKER_BUILDTIME				40
#define M_DWARVEN_ZERKER_HEALTH					1000	; originally 400
#define M_DWARVEN_ZERKER_HEALTH_DAMAGED				500
#define M_DWARVEN_ZERKER_HEALTH_RECOVERY_TIME			10000
#define	M_DWARVEN_ZERKER_VISION_RANGE 				175
#define	M_DWARVEN_ZERKER_HORDE_VISION_RANGE 			175
#define	M_DWARVEN_ZERKER_SHROUD_RANGE 				400

#define	M_DWARVEN_ZERKER_AXE					200	;50
#define M_DWARVEN_ZERKER_AXE_PREATTACKDELAY 			500
#define M_DWARVEN_ZERKER_AXE_DELAYBETWEENSHOTS 			1000
#define M_DWARVEN_ZERKER_AXE_FIRINGDURATION 			1000
#define	M_DWARVEN_ZERKER_BOUNTY_VALUE        			62	; originally 8
#define	M_DWARVEN_ZERKER_LEAP_DAMAGE				93	;50


;//========================DWARVEN===========================
;//=======================STRUCTURES=========================

;//------------------------Dwarven Fortress------------------

#define M_DWARVEN_FORTRESS_BUILDCOST				5000
#define M_DWARVEN_FORTRESS_BUILDTIME				120
#define M_DWARVEN_FORTRESS_VISION_RANGE				400
#define	M_DWARVEN_FORTRESS_SHROUD_CLEAR				800
#define M_DWARVEN_FORTRESS_HEALTH					7500
#define M_DWARVEN_FORTRESS_HEALTH_DAMAGED				5000
#define M_DWARVEN_FORTRESS_HEALTH_REALLY_DAMAGED			3500

#define	M_DWARVEN_FORTRESS_BOUNTY_VALUE				1250

#define M_DWARVEN_FORTRESS_WALL_EFFECTIVE_RADIUS			1500

#define M_DWARVEN_FORTRESS_FIRE_FUEL				100
#define M_DWARVEN_FORTRESS_FIRE_MAX_BURN_RATE			20
#define M_DWARVEN_FORTRESS_FIRE_DECAY				5
#define M_DWARVEN_FORTRESS_FIRE_RESISTANCE			10

#define M_DWARVEN_CATAPULT_TOWER_BUILDCOST			2500
#define M_DWARVEN_CATAPULT_TOWER_BUILDTIME			30

#define	M_DWARVEN_MIGHTYCATAPULT_RANGE				2000
#define	M_DWARVEN_MIGHTYCATAPULT_ROCK_DAMAGE			500
#define	M_DWARVEN_MIGHTYCATAPULT_FLAME_DAMAGE			500
#define M_DWARVEN_MIGHTYCATAPULT_DAMAGE_RADIUS			100

#define M_DWARVEN_MIGHTYCATAPULT_PREATTACKDELAY 			400
#define M_DWARVEN_MIGHTYCATAPULT_DELAYBETWEENSHOTS 		5000
#define M_DWARVEN_MIGHTYCATAPULT_FIRINGDURATION 			3000

#define M_DWARVEN_SIEGE_KEGS_BUILDCOST				1000
#define M_DWARVEN_SIEGE_KEGS_BUILDTIME				30

#define M_DWARVEN_OIL_CASK_BUILDCOST				1500
#define M_DWARVEN_OIL_CASK_BUILDTIME				30

#define M_DWARVEN_FORTRESS_BANNER_BUILDCOST			500
#define M_DWARVEN_FORTRESS_BANNER_BUILDTIME			5

#define M_DWARVEN_STONEWORK_BANNER_BUILDCOST			2000
#define M_DWARVEN_STONEWORK_BANNER_BUILDTIME			30

#define M_DWARVEN_FLAMING_MUNITIONS_BUILDCOST			1500
#define M_DWARVEN_FLAMING_MUNITIONS_BUILDTIME			30

#define M_DWARVEN_SIEGE_KEGS_HEALTH_BONUS				1000
#define M_DWARVEN_STONEWORK_KEEP_HEALTH_BONUS			0 	; Nerfing the Fortress Armor Upgrade -GB
#define M_DWARVEN_STONEWORK_KEEP_ARMOR_BONUS			50%
#define M_DWARVEN_STONEWORK_EXPANSION_HEALTH_BONUS		0 	; Nerfing the Fortress Armor Upgrade -GB
#define M_DWARVEN_STONEWORK_EXPANSION_ARMOR_BONUS			50%

//-----------------Dwarven Catapult Expansion-----------------

#define M_DWARVEN_CATAPULTEXPANSION_BUILDCOST			1200
#define M_DWARVEN_CATAPULTEXPANSION_BUILDTIME			30
#define M_DWARVEN_CATAPULTEXPANSION_HEALTH			1250	; originally 1000
#define M_DWARVEN_CATAPULTEXPANSION_HEALTH_DAMAGED		625	; originally 500
#define M_DWARVEN_CATAPULTEXPANSION_HEALTH_REALLY_DAMAGED		300	; originally 250

//------------------Dwarven Catapult Expansion----------------

#define M_DWARVEN_EREBORTOWEREXPANSION_BUILDCOST			500
#define M_DWARVEN_EREBORTOWEREXPANSION_BUILDTIME			30
#define M_DWARVEN_EREBORTOWEREXPANSION_HEALTH			1000
#define M_DWARVEN_EREBORTOWEREXPANSION_HEALTH_DAMAGED		500
#define M_DWARVEN_EREBORTOWEREXPANSION_HEALTH_REALLY_DAMAGED	250

//--------------------Dwarven Hall----------------------------

#define M_DWARVEN_HALLEXPANSION_BUILDCOST				400
#define M_DWARVEN_HALLEXPANSION_BUILDTIME				10	; originally 5
#define M_DWARVEN_HALLEXPANSION_HEALTH				1500
#define M_DWARVEN_HALLEXPANSION_HEALTH_DAMAGED			1000
#define M_DWARVEN_HALLEXPANSION_HEALTH_REALLY_DAMAGED		500

#define M_DWARVEN_HALLEXPANSION_HEAL_AMOUNT			10	; 10 health restored...
#define M_DWARVEN_HALLEXPANSION_HEAL_TIMEOUT			1000	; ...evey second.

#define M_DWARVEN_HALLEXPANSION_FIRE_FUEL				100
#define M_DWARVEN_HALLEXPANSION_FIRE_MAX_BURN_RATE		20
#define M_DWARVEN_HALLEXPANSION_FIRE_DECAY			5
#define M_DWARVEN_HALLEXPANSION_FIRE_RESISTANCE			10


;//===================Dwarven Walls===================

;//------------------------SENTRY TOWER----------------------

#define M_DWARVEN_SENTRY_TOWER_HEALTH				3000
#define M_DWARVEN_SENTRY_TOWER_BUILDCOST				500
#define M_DWARVEN_SENTRY_TOWER_BUILDTIME				60
#define M_DWARVEN_SENTRY_TOWER_BOUNTY				250

#define M_DWARVEN_SENTRY_TOWER_HEALTH_DAMAGED			2000
#define M_DWARVEN_SENTRY_TOWER_HEALTH_REALLYDAMAGED		1000

#define M_DWARVEN_SENTRY_TOWER_AXE_UPGRADE_BUILDCOST		500
#define M_DWARVEN_SENTRY_TOWER_AXE_UPGRADE_BUILDTIME		30

;------------------------DwarvenWallHubSmall-----------------

#define M_DWARVEN_WALLHUB_SMALL_BUILDCOST				200
#define M_DWARVEN_WALLHUB_SMALL_BUILDTIME				30
#define M_DWARVEN_WALLHUB_SMALL_VISION_RANGE			160
#define M_DWARVEN_WALLHUB_SMALL_SHROUD_CLEAR			160
#define M_DWARVEN_WALLHUB_SMALL_HEALTH				3000
#define M_DWARVEN_WALLHUB_SMALL_HEALTH_DAMAGED			2000
#define M_DWARVEN_WALLHUB_SMALL_HEALTH_REALLY_DAMAGED		1000
#define M_DWARVEN_WALL_HUB_SMALL_EXP_AWARD			10

;------------------------Dwarven Walls Small------------------

#define M_DWARVEN_WALLSEGMENT_SMALL_BUILDCOST			50
#define M_DWARVEN_WALLSEGMENT_SMALL_BUILDTIME			15
#define M_DWARVEN_WALLSEGMENT_SMALL_VISION_RANGE			160
#define M_DWARVEN_WALLSEGMENT_SMALL_SHROUD_CLEAR			160
#define M_DWARVEN_WALLSEGMENT_SMALL_HEALTH			3000
#define M_DWARVEN_WALLSEGMENT_SMALL_HEALTH_DAMAGED		2000
#define M_DWARVEN_WALLSEGMENT_SMALL_HEALTH_REALLY_DAMAGED		1000

;------------------------DwarvenWallGateSmall-----------------

#define M_DWARVEN_WALLGATE_SMALL_BUILDCOST			500
#define M_DWARVEN_WALLGATE_SMALL_BUILDTIME			30
#define M_DWARVEN_WALLGATE_SMALL_VISION_RANGE			160
#define M_DWARVEN_WALLGATE_SMALL_SHROUD_CLEAR			160
#define M_DWARVEN_WALLGATE_SMALL_HEALTH				2000
#define M_DWARVEN_WALLGATE_SMALL_HEALTH_DAMAGED			1500
#define M_DWARVEN_WALLGATE_SMALL_HEALTH_REALLY_DAMAGED		500
#define M_DWARVEN_WALL_GATE_SMALL_EXP_AWARD			10

;-----------------DwarvenWallPosternGateSmall----------------

#define M_DWARVEN_POSTERNGATE_SMALL_BUILDCOST			300
#define M_DWARVEN_POSTERNGATE_SMALL_BUILDTIME			15
#define M_DWARVEN_POSTERNGATE_SMALL_VISION_RANGE			160
#define M_DWARVEN_POSTERNGATE_SMALL_SHROUD_CLEAR			160
#define M_DWARVEN_POSTERNGATE_SMALL_HEALTH			1000
#define M_DWARVEN_POSTERNGATE_SMALL_HEALTH_DAMAGED		1500
#define M_DWARVEN_POSTERNGATE_SMALL_HEALTH_REALLY_DAMAGED		750
#define M_DWARVEN_WALL_POSTERN_GATE_SMALL_EXP_AWARD	10

;-------------------DwarvenWallTowerSmall--------------------

#define M_DWARVEN_WALLTOWER_SMALL_BUILDCOST			500
#define M_DWARVEN_WALLTOWER_SMALL_BUILDTIME			15
#define M_DWARVEN_WALLTOWER_SMALL_VISION_RANGE			200
#define M_DWARVEN_WALLTOWER_SMALL_SHROUD_CLEAR			250
#define M_DWARVEN_WALLTOWER_SMALL_HEALTH				3000
#define M_DWARVEN_WALLTOWER_SMALL_HEALTH_DAMAGED			2000
#define M_DWARVEN_WALLTOWER_SMALL_HEALTH_REALLY_DAMAGED		1000
#define M_DWARVEN_WALL_TOWER_SMALL_EXP_AWARD			10

;------------------DwarvenWallCatapultSmall------------------

#define M_DWARVEN_WALLCATAPULT_SMALL_BUILDCOST			1200
#define M_DWARVEN_WALLCATAPULT_SMALL_BUILDTIME			30
#define M_DWARVEN_WALLCATAPULT_SMALL_VISION_RANGE			160
#define M_DWARVEN_WALLCATAPULT_SMALL_SHROUD_CLEAR			160
#define M_DWARVEN_WALLCATAPULT_SMALL_HEALTH			3000
#define M_DWARVEN_WALLCATAPULT_SMALL_HEALTH_DAMAGED		2000
#define M_DWARVEN_WALLCATAPULT_SMALL_HEALTH_REALLY_DAMAGED	1000
#define M_DWARVEN_WALL_CATAPULT_SMALL_EXP_AWARD			10

;------------------------WALL--------------------------------
	
#define M_DWARVEN_CASTLE_WALL_HEALTH				5000
#define M_DWARVEN_WALL_HUB_COST					300
#define M_DWARVEN_WALL_SEGMENT_COST				200
#define M_DWARVEN_WALL_SEGMENT_BUILDTIME				15

//------------------Dwarven Summoned Citadel-----------------

#define M_DWARVEN_SUMMONED_CITADEL_HEALTH				10000
#define M_DWARVEN_SUMMONED_CITADEL_HEALTH_DAMAGED			5000
#define M_DWARVEN_SUMMONED_CITADEL_HEALTH_REALLY_DAMAGED		2500

#define	M_DWARVEN_SUMMONED_CITADEL_SUMMONING_DAMAGE		1000

;------------------------Dwarven Forge Works-----------------

#define M_DWARVEN_FORGE_BUILDCOST                  		350	; originally 400
#define M_DWARVEN_FORGE_BUILDTIME                   		20 	; originally 15
#define M_DWARVEN_FORGE_HEALTH                    		1000
#define M_DWARVEN_FORGE_HEALTH_DAMAGED            		500
#define M_DWARVEN_FORGE_HEALTH_REALLY_DAMAGED     		250
#define M_DWARVEN_FORGE_SHROUD_CLEAR               		160
#define M_DWARVEN_FORGE_MONEY_TIME                		6000
#define M_DWARVEN_FORGE_MONEY_AMOUNT                		15

#define M_DWARVEN_FORGE_LVL1_EXP_AWARD              		50
#define M_DWARVEN_FORGE_LVL2_EXP_AWARD              		60
#define M_DWARVEN_FORGE_LVL3_EXP_AWARD              		70
 
#define M_DWARVEN_FORGE_LVL2_EXP_NEEDED            		750     ; 1200  ; 750
#define M_DWARVEN_FORGE_LVL3_EXP_NEEDED           		4000    ; 5000

#define M_DWARVEN_FORGE_LVL2_HP_ADD               		1500
#define M_DWARVEN_FORGE_LVL3_HP_ADD               		1500

#define M_DWARVEN_FORGE_LVL2_PRODUCTION              		1.2   	; 1.34
#define M_DWARVEN_FORGE_LVL3_PRODUCTION              		1.12  	; 1.25
#define M_DWARVEN_FORGE_BOUNTY_VALUE                		100

#define M_DWARVEN_FORGE_LVL2_UPGRADE_COST				600 	; originally 500
#define M_DWARVEN_FORGE_LVL2_UPGRADE_TIME          		30
#define M_DWARVEN_FORGE_LVL3_UPGRADE_COST         		1000
#define M_DWARVEN_FORGE_LVL3_UPGRADE_TIME			 	60

;------------------------DwarvenBarracks-------------

#define	M_DWARVEN_BARRACKS_LVL2_UPGRADE_COST			500
#define M_DWARVEN_BARRACKS_LVL2_UPGRADE_TIME			30
#define M_DWARVEN_BARRACKS_LVL2_UNIT_PRODUCTION_SPEED		1.10

#define	M_DWARVEN_BARRACKS_LVL3_UPGRADE_COST			1000
#define M_DWARVEN_BARRACKS_LVL3_UPGRADE_TIME			60
#define M_DWARVEN_BARRACKS_LVL3_UNIT_PRODUCTION_SPEED		1.25

#define M_DWARVEN_BARRACKS_BUILDCOST				400
#define M_DWARVEN_BARRACKS_BUILDTIME				20

#define	M_DWARVEN_BARRACKS_SHROUD_CLEAR				160
#define M_DWARVEN_BARRACKS_HEALTH					5000
#define M_DWARVEN_BARRACKS_HEALTH_DAMAGED				2500
#define M_DWARVEN_BARRACKS_HEALTH_REALLY_DAMAGED			1250

#define	M_DWARVEN_BARRACKS_LVL1_EXP_AWARD 			50
#define	M_DWARVEN_BARRACKS_LVL2_EXP_AWARD 			60
#define	M_DWARVEN_BARRACKS_LVL3_EXP_AWARD 			70

#define M_DWARVEN_BARRACKS_LVL2_EXP_NEEDED			100
#define M_DWARVEN_BARRACKS_LVL3_EXP_NEEDED 			1000

#define	M_DWARVEN_BARRACKS_LVL2_HP_ADD	 			1500
#define	M_DWARVEN_BARRACKS_LVL3_HP_ADD	 			1500

#define M_DWARVEN_BARRACKS_LVL2_BUILD_SPEED 			1.10   
#define M_DWARVEN_BARRACKS_LVL3_BUILD_SPEED 			1.25    

#define	M_DWARVEN_BARRACKS_BOUNTY_VALUE				125

;------------------------DwarvenArcheryRange---------

#define M_DWARVEN_ARCHERYRANGE_BUILDCOST				500 	; originally 600
#define M_DWARVEN_ARCHERYRANGE_BUILDTIME				30 	; originally 45
#define M_DWARVEN_ARCHERYRANGE_VISIONRANGE			160
#define M_DWARVEN_ARCHERYRANGE_SHROUDCLEAR			161
#define M_DWARVEN_ARCHERYRANGE_MAXHEALTH				5000
#define M_DWARVEN_ARCHERYRANGE_MAXHEALTHDAMAGED			2500
#define M_DWARVEN_ARCHERYRANGE_MAXHEALTH_REALLYDAMAGED		1250

#define M_DWARVEN_ARCHERYRANGE_LEVEL2_UPGRADE_COST		600 	; originally 500
#define M_DWARVEN_ARCHERYRANGE_LEVEL2_UPGRADE_BUILDTIME 		45	; originally 30
#define M_DWARVEN_ARCHERYRANGE_LEVEL3_UPGRADE_COST		1000
#define M_DWARVEN_ARCHERYRANGE_LEVEL3_UPGRADE_BUILDTIME		60

#define	M_DWARVEN_ARCHERYRANGE_LVL1_EXP_AWARD 			50
#define	M_DWARVEN_ARCHERYRANGE_LVL2_EXP_AWARD 			60
#define	M_DWARVEN_ARCHERYRANGE_LVL3_EXP_AWARD 			70

#define M_DWARVEN_ARCHERYRANGE_LVL2_EXP_NEEDED			1000
#define M_DWARVEN_ARCHERYRANGE_LVL3_EXP_NEEDED 			3600

#define	M_DWARVEN_ARCHERYRANGE_LVL2_HP_ADD	 		1500
#define	M_DWARVEN_ARCHERYRANGE_LVL3_HP_ADD	 		1500

#define M_DWARVEN_ARCHERYRANGE_LVL2_BUILD_SPEED 			1.10   
#define M_DWARVEN_ARCHERYRANGE_LVL3_BUILD_SPEED 			1.25    

#define	M_DWARVEN_ARCHERYRANGE_BOUNTY_VALUE			150

#define M_DWARVEN_PERSONAL_FIRE_ARROWS_BUILDCOST			300
#define M_DWARVEN_PERSONAL_FIRE_ARROWS_BUILDTIME			10

#define M_DWARVEN_TECH_FIRE_ARROWS_BUILDCOST			1000
#define M_DWARVEN_TECH_FIRE_ARROWS_BUILDTIME			30

;------------------------MINE SHAFT -------------

#define M_DWARVEN_MINE_BUILDCOST					300
#define M_DWARVEN_MINE_BUILDTIME					15

#define M_DWARVEN_MINE_HEALTH					2000
#define M_DWARVEN_MINE_HEALTH_DAMAGED				1333
#define M_DWARVEN_MINE_HEALTH_REALLY_DAMAGED			667

#define M_DWARVEN_MINE_LEVEL2_UPGRADE_COST			500
#define M_DWARVEN_MINE_LEVEL2_UPGRADE_BUILDTIME 			30
#define M_DWARVEN_MINE_LEVEL3_UPGRADE_COST			1000
#define M_DWARVEN_MINE_LEVEL3_UPGRADE_BUILDTIME			60
#define	M_DWARVEN_MINE_BOUNTY_VALUE				75
#define	M_DWARVEN_MINE_VISION_RANGE				160
#define	M_DWARVEN_MINE_SHROUD_CLEAR				300

#define M_DWARVEN_MINE_LVL2_EXP_NEEDED				1500
#define M_DWARVEN_MINE_LVL3_EXP_NEEDED 				3000
#define	M_DWARVEN_MINE_LVL1_EXP_AWARD 				40
#define	M_DWARVEN_MINE_LVL2_EXP_AWARD 				50
#define	M_DWARVEN_MINE_LVL3_EXP_AWARD 				60

#define M_DWARVEN_MINE_LVL2_HP_ADD				500
#define M_DWARVEN_MINE_LVL3_HP_ADD				1000

#define M_DWARVEN_MINE_MONEY_TIME 				6000
#define M_DWARVEN_MINE_MONEY_AMOUNT				25
#define M_DWARVEN_MINE_MONEY_RANGE				300

;------------------------FORGE WORKS -------------

#define M_DWARVEN_FORGEWORKS_BUILDCOST				500		; 1200
#define M_DWARVEN_FORGEWORKS_BUILDTIME				30
#define M_DWARVEN_FORGEWORKS_VISIONRANGE				160
#define M_DWARVEN_FORGEWORKS_SHROUDCLEAR				161
#define M_DWARVEN_FORGEWORKS_MAXHEALTH				3000
#define M_DWARVEN_FORGEWORKS_MAXHEALTHDAMAGED			2000
#define M_DWARVEN_FORGEWORKS_MAXHEALTH_REALLYDAMAGED		1000

#define M_DWARVEN_FORGEWORKS_LEVEL2_UPGRADE_COST			500
#define M_DWARVEN_FORGEWORKS_LEVEL2_UPGRADE_BUILDTIME 		30
#define M_DWARVEN_FORGEWORKS_LEVEL3_UPGRADE_COST			1000
#define M_DWARVEN_FORGEWORKS_LEVEL3_UPGRADE_BUILDTIME		60

#define	M_DWARVEN_FORGEWORKS_LVL1_EXP_AWARD 			50
#define	M_DWARVEN_FORGEWORKS_LVL2_EXP_AWARD 			60
#define	M_DWARVEN_FORGEWORKS_LVL3_EXP_AWARD 			70

#define M_DWARVEN_FORGEWORKS_LVL2_EXP_NEEDED			1000
#define M_DWARVEN_FORGEWORKS_LVL3_EXP_NEEDED 			3600

#define	M_DWARVEN_FORGEWORKS_LVL2_HP_ADD	 			1500
#define	M_DWARVEN_FORGEWORKS_LVL3_HP_ADD	 			1500

#define M_DWARVEN_FORGEWORKS_LVL2_BUILD_SPEED 			1.10   
#define M_DWARVEN_FORGEWORKS_LVL3_BUILD_SPEED 			1.25    

#define	M_DWARVEN_FORGEWORKS_BOUNTY_VALUE				300

;------------------------HEARTH -------------

#define M_DWARVEN_HEARTH_BUILDCOST				300
#define M_DWARVEN_HEARTH_BUILDTIME				45
#define M_DWARVEN_HEARTH_MAXHEALTH				1500
#define M_DWARVEN_HEARTH_MAXHEALTHDAMAGED				1000
#define M_DWARVEN_HEARTH_MAXHEALTH_REALLYDAMAGED			500
#define M_DWARVEN_HEARTH_VISIONRANGE				160
#define M_DWARVEN_HEARTH_SHROUDCLEAR				300
#define	M_DWARVEN_HEARTH_BOUNTY_VALUE				75

;------------------------STATUE -------------

#define M_DWARVEN_STATUE_MAXHEALTH				1500
#define M_DWARVEN_STATUE_MAXHEALTHDAMAGED				1000
#define M_DWARVEN_STATUE_MAXHEALTH_REALLYDAMAGED			500
#define M_DWARVEN_STATUE_BUILDCOST				300
#define M_DWARVEN_STATUE_BUILDTIME				45
#define M_DWARVEN_STATUE_VISIONRANGE				160
#define M_DWARVEN_STATUE_SHROUDCLEAR				300
#define	M_DWARVEN_STATUE_BOUNTY_VALUE				75

#define M_DWARVEN_STATUE_AOE_RADIUS				200
#define M_DWARVEN_STATUE_AOE_RADIUS_DECAL				440 	// should be about 2.2 times the radius
#define M_DWARVEN_STATUE_REFUND_VALUE				150

#define M_DWARVEN_HEARTH_AOE_RADIUS				200
#define M_DWARVEN_HEARTH_AOE_RADIUS_DECAL				440


;//=========== DWARVEN TECHNOLOGY AND UPGRADES ==========

#define M_DWARVEN_TECH_BASIC_TRAINING_BUILDCOST			1000
#define M_DWARVEN_TECH_BASIC_TRAINING_BUILDTIME			60

#define M_DWARVEN_TECH_FORGED_BLADES_BUILDCOST			300
#define M_DWARVEN_TECH_FORGED_BLADES_BUILDTIME			10

#define M_DWARVEN_TECH_SIEGE_HAMMER_BUILDCOST			300
#define M_DWARVEN_TECH_SIEGE_HAMMER_BUILDTIME			10

#define M_DWARVEN_TECH_HEAVY_ARMOR_BUILDCOST			300
#define M_DWARVEN_TECH_HEAVY_ARMOR_BUILDTIME			10

#define M_DWARVEN_TECH_FLAMING_SHOT_BUILDCOST			300
#define M_DWARVEN_TECH_FLAMING_SHOT_BUILDTIME			10

;-----
#define M_DWARVEN_PERSONAL_BASIC_TRAINING_BUILDCOST		300
#define M_DWARVEN_PERSONAL_BASIC_TRAINING_BUILDTIME		10

#define M_DWARVEN_PERSONAL_FORGED_BLADES_BUILDCOST		1000
#define M_DWARVEN_PERSONAL_FORGED_BLADES_BUILDTIME		60

#define M_DWARVEN_PERSONAL_SIEGE_HAMMER_BUILDCOST			1000
#define M_DWARVEN_PERSONAL_SIEGE_HAMMER_BUILDTIME			60

#define M_DWARVEN_PERSONAL_HEAVY_ARMOR_BUILDCOST			1000
#define M_DWARVEN_PERSONAL_HEAVY_ARMOR_BUILDTIME			60

#define M_DWARVEN_PERSONAL_FLAMING_SHOT_BUILDCOST			1000
#define M_DWARVEN_PERSONAL_FLAMING_SHOT_BUILDTIME			60



;========================ELVEN========================
;========================UNITS========================

;------------------------SHIP------------------------

#define	M_GOODMEN_SHIP_VISION_RANGE		 	500

#define M_GOOD_BOMBARDSHIP_BUILDTIME			45
#define M_GOOD_BOMBARDSHIP_BUILDCOST			3000
#define M_GOOD_BOMBARDSHIP_HEALTH				1000

#define M_GOOD_FIRESHIP_BUILDTIME				15
#define M_GOOD_FIRESHIP_BUILDCOST				500
#define M_GOOD_FIRESHIP_HEALTH				1000

#define M_GOOD_BATTLESHIP_BUILDTIME			20
#define M_GOOD_BATTLESHIP_BUILDCOST			750
#define M_GOOD_BATTLESHIP_HEALTH				1000

#define	M_GOOD_SHIP_LOVEOFTHESEA_BUILDCOST		200
#define	M_GOOD_SHIP_LOVEOFTHESEA_BUILDTIME		10

#define	M_GOOD_SHIP_CIRDANSCRAFTWORK_BUILDCOST		300
#define	M_GOOD_SHIP_CIRDANSCRAFTWORK_BUILDTIME		10

#define	M_GOOD_SHIP_REGEN_AMOUNT				10
#define	M_GOOD_SHIP_REGEN_DELAY				1000
#define	M_GOOD_SHIP_HEAL_DELAY				5000

#define M_GOOD_SHIP_ANTI_SHIP_WEAPON_RANGE		350
#define M_GOOD_SHIP_ANTI_SHIP_WEAPON_DAMAGE		25
#define M_GOOD_SHIP_ANTI_SHIP_SPEED			120

#define M_GOOD_SHIP_BOMBARD_WEAPON_RANGE			1000
#define M_GOOD_SHIP_BOMBARD_WEAPON_MIN_RANGE		400
#define M_GOOD_SHIP_BOMBARD_WEAPON_DAMAGE			500
#define M_GOOD_SHIP_BOMBARD_WEAPON_FIRE_RATE		5000
#define M_GOOD_SHIP_BOMBARD_SPEED				80

#define M_GOOD_SHIP_TRANSPORT_SPEED			70

#define M_GOOD_FIRE_SHIP_RANGE				5
#define M_GOOD_FIRE_SHIP_TIMEOUT				30000	; time it takes for the ship to die
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_TIMEOUT		10000	; time the pool hangs around for
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_RADIUS			200
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_DAMAGE_RADIUS_01	100	; The smaller more damaging centre
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_DAMAGE_RADIUS_02	190	; The outer less damaging ring
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_DAMAGE_AMOUNT_01	80
#define M_GOOD_FIRE_SHIP_WHIRLPOOL_DAMAGE_AMOUNT_02	20

#define M_GOOD_SHIP_FIRE_DAMAGE_TIMEOUT			500	; The tick timeout.
#define M_GOOD_SHIP_FIRE_DAMAGE_AMOUNT			5	; The damage dealt per tick.
#define M_GOOD_SHIP_FIRE_DAMAGE_HEALTH			#MULTIPLY( M_GOOD_BATTLESHIP_HEALTH 0.8 )	; The amount of damage we take before catching fire.


;------------------MIRKWOOD ARCHER HORDE-------------
;------------------------ARCHER-------------

#define M_ELVEN_MIRKWOOD_ARCHER_BUILDCOST			800 	; 200
#define M_ELVEN_MIRKWOOD_ARCHER_BUILDTIME			45 	; 20
#define M_ELVEN_MIRKWOOD_ARCHER_HEALTH			300	;200	; originally 150
#define M_ELVEN_MIRKWOOD_ARCHER_HEALTH_DAMAGED		150	;50
#define M_ELVEN_MIRKWOOD_ARCHER_HEALTH_RECOVERY_TIME	10000
#define	M_ELVEN_MIRKWOOD_ARCHER_VISION_RANGE 		600
#define	M_ELVEN_MIRKWOOD_ARCHER_HORDE_VISION_RANGE 	550 	; Slightly shorter than the archer's actual weapon range / this should be considered the actual range of the unit. -GB
#define	M_ELVEN_MIRKWOOD_ARCHER_HORDE_SHROUD_RANGE 	700

#define	M_ELVEN_MIRKWOOD_ARCHER_RANGE			450
#define	M_ELVEN_MIRKWOOD_ARCHER_BOMBARD_MINRANGE		150
#define	M_ELVEN_MIRKWOOD_ARCHER_BOMBARD_MAXRANGE		450

#define	M_ELVEN_MIRKWOOD_ARCHER_DAMAGE			125	;90  
#define	M_ELVEN_MIRKWOOD_ARCHER_DAMAGE_UPGRADE_PIERCE	100	; total=150   originally 120
#define	M_ELVEN_MIRKWOOD_ARCHER_DAMAGE_UPGRADE_MAGIC	60	; total=150

#define	M_ELVEN_MIRKWOOD_ARCHER_FIRE_UPGRADE_DAMAGE	10 
#define	M_ELVEN_MIRKWOOD_ARCHER_FIRE_UPGRADE_FLAME	15	; 20  

#define M_ELVEN_MIRKWOOD_ARCHER_BOW_PREATTACKDELAY 	500
#define M_ELVEN_MIRKWOOD_ARCHER_BOW_RELOADTIME_MIN	750
#define M_ELVEN_MIRKWOOD_ARCHER_BOW_RELOADTIME_MAX	1000
#define	M_ELVEN_MIRKWOOD_ARCHER_BOUNTY_VALUE         	20


;------------------------BANNER----------------------

#define M_ELVEN_BANNER_HEALTH				300	;125
#define M_ELVEN_BANNER_HEALTH_DAMAGED			150	;75
#define M_ELVEN_BANNER_HEALTH_RECOVERY_TIME		10000
#define	M_ELVEN_BANNER_VISION_RANGE 			175
#define	M_ELVEN_BANNER_BOUNTY_VALUE			15
#define	M_ELVEN_BANNER_COST				800
#define	M_ELVEN_BANNER_BUILDTIME				30


;------------------------RIVENDELLLANCER-------------

#define M_ELVEN_RIVENDELLLANCER_BUILDCOST			450	; originally 500
#define M_ELVEN_RIVENDELLLANCER_BUILDTIME			30
#define M_ELVEN_RIVENDELLLANCER_HEALTH			300 
#define M_ELVEN_RIVENDELLLANCER_HEALTH_DAMAGED		150 
#define M_ELVEN_RIVENDELLLANCER_HEALTH_RECOVERY_TIME	10000
#define	M_ELVEN_RIVENDELLLANCER_VISION_RANGE 		175
#define	M_ELVEN_RIVENDELLLANCER_HORDE_VISION_RANGE 	175
#define	M_ELVEN_RIVENDELLLANCER_SHROUD_RANGE 		500

#define	M_ELVEN_RIVENDELLLANCER_LANCE_DAMAGE	 	80	;60
#define	M_ELVEN_RIVENDELLLANCER_LANCE_DAMAGE_UPGRADE	120

#define M_ELVEN_RIVENDELLLANCER_PREATTACKDELAY 		500
#define M_ELVEN_RIVENDELLLANCER_DELAYBETWEENSHOTS 	1000
#define M_ELVEN_RIVENDELLLANCER_FIRINGDURATION 		1000

#define	M_ELVEN_RIVENDELLLANCER_BOUNTY_VALUE		11	; originally 12

;------------------------RIVENDELL ARCHER----------------------	

#define M_ELVEN_RIVENDELLARCHER_BUILDCOST                     	450	
#define M_ELVEN_RIVENDELLARCHER_BUILDTIME                      	30
#define M_ELVEN_RIVENDELLARCHER_HEALTH                        	300 
#define M_ELVEN_RIVENDELLARCHER_HEALTH_DAMAGED                	150
#define M_ELVEN_RIVENDELLARCHER_HEALTH_RECOVERY_TIME        	10000
#define M_ELVEN_RIVENDELLARCHER_VISION_RANGE                  	200
#define M_ELVEN_RIVENDELLARCHER_HORDE_VISION_RANGE            	370
#define M_ELVEN_RIVENDELLARCHER_SHROUD_RANGE            		400

#define M_ELVEN_RIVENDELLARCHER_PREATTACKDELAY                	500  	; 750
#define M_ELVEN_RIVENDELLARCHER_DELAYBETWEENSHOTS            	1000  	; 750
#define M_ELVEN_RIVENDELLARCHER_FIRINGDURATION               	1000  	; 750

#define M_ELVEN_RIVENDELLARCHER_BOUNTY_VALUE                   	11	; originally 12

#define M_ELVEN_RIVENDELLARCHER__RANGE                         	350
#define M_ELVEN_RIVENDELLARCHER__BOW_DAMAGE                     	20 ;10
#define M_ELVEN_RIVENDELLARCHER__BOW_FIRE_DAMAGE                	15 ;20

#define M_ELVEN_RIVENDELLARCHER_DAMAGE_UPGRADE_PIERCE		120
#define M_ELVEN_RIVENDELLARCHER_DAMAGE_UPGRADE_MAGIC		60

#define M_ELVEN_RIVENDELLARCHER_HORSEBOW_RANGE			350

#define M_ELVEN_RIVENDELLARCHER__VISION_RANGE           	380

;------------------------LORIENWARRIOR-------------

#define M_ELVEN_LORIENWARRIOR_BUILDCOST			300
#define M_ELVEN_LORIENWARRIOR_BUILDTIME			30 
#define M_ELVEN_LORIENWARRIOR_HEALTH			200	; Originally 125
#define M_ELVEN_LORIENWARRIOR_HEALTH_DAMAGED		75
#define M_ELVEN_LORIENWARRIOR_HEALTH_RECOVERY_TIME	10000
#define	M_ELVEN_LORIENWARRIOR_VISION_RANGE 		175
#define	M_ELVEN_LORIENWARRIOR_HORDE_VISION_RANGE 		175
#define	M_ELVEN_LORIENWARRIOR_HORDE_SHROUD_RANGE 		500

;Sword
#define M_ELVEN_LORIENWARRIOR_SWORD_PREATTACKDELAY 	700
#define M_ELVEN_LORIENWARRIOR_SWORD_DELAYBETWEENSHOTS 	1500
#define M_ELVEN_LORIENWARRIOR_SWORD_FIRINGDURATION 	800

;#define	M_ROHAN_ELVEN_RANGE			400
;#define	M_ROHAN_ELVEN_DAMAGE			30 
;#define	M_ROHAN_ELVEN_FIRE_UPGRADE_DAMAGE		30 
;#define	M_ROHAN_ELVEN_FIRE_UPGRADE_DAMAGE_FLAME	15 

#define	M_ELVEN_FIGHTER_MELEE_DAMAGE			80 
#define	M_ELVEN_FIGHTER_MELEE_DAMAGE_UPGRADE		140	;160 

#define	M_ELVEN_LORIENWARRIOR_BOUNTY_VALUE		6	; originally 5	


;------------------------LORIENARCHER-------------------

#define M_ELVEN_LORIENARCHER_BUILDCOST			300
#define M_ELVEN_LORIENARCHER_BUILDTIME			30 

#define M_ELVEN_LORIENARCHER_HEALTH			220	;250	; originally 125
#define M_ELVEN_LORIENARCHER_HEALTH_DAMAGED		50
#define M_ELVEN_LORIENARCHER_HEALTH_RECOVERY_TIME		10000

#define	M_ELVEN_LORIENARCHER_VISION_RANGE 		400 
#define M_ELVEN_LORIENARCHER_HORDE_SHROUD_RANGE		500
#define	M_ELVEN_LORIENARCHER_HORDE_VISION_RANGE 		350 	; Slightly shorter than the archer's actual weapon range / this should be considered the actual range of the unit. -GB

#define	M_ELVEN_LORIENARCHER_HORDE_BOMBARD_MINRANGE 	200
#define	M_ELVEN_LORIENARCHER_HORDE_BOMBARD_MAXRANGE 	350

#define	M_ELVEN_LORIENARCHER_ARCHER_RANGE			350
#define	M_ELVEN_LORIENARCHER_ARCHER_BOMBARD_MINRANGE	150
#define	M_ELVEN_LORIENARCHER_ARCHER_BOMBARD_MAXRANGE	350

#define	M_ELVEN_HORSEARCHER_ARCHER_RANGE			300
#define	M_ELVEN_HORSEARCHER_ARCHER_BOMBARD_MINRANGE	100
#define	M_ELVEN_HORSEARCHER_ARCHER_BOMBARD_MAXRANGE	300

;------------------------MITHLONDSENTRY-----------------

#define M_ELVEN_MITHLONDSENTRY_BUILDCOST			300
#define M_ELVEN_MITHLONDSENTRY_BUILDTIME			35	; originally 30 
#define M_ELVEN_MITHLONDSENTRY_HEALTH			250	; originally 125
#define M_ELVEN_MITHLONDSENTRY_HEALTH_DAMAGED		100
#define M_ELVEN_MITHLONDSENTRY_HEALTH_RECOVERY_TIME	10000
#define	M_ELVEN_MITHLONDSENTRY_SHROUD_RANGE 		500
#define	M_ELVEN_MITHLONDSENTRY_VISION_RANGE 		175
#define	M_ELVEN_MITHLONDSENTRY_HORDE_VISION_RANGE 	175

;Pike
#define M_ELVEN_MITHLONDSENTRY_PIKE_PREATTACKDELAY 	600
#define M_ELVEN_MITHLONDSENTRY_PIKE_DELAYBETWEENSHOTS 	1000
#define M_ELVEN_MITHLONDSENTRY_PIKE_FIRINGDURATION 	1000
#define M_ELVEN_MITHLONDSENTRY_PIKE_DAMAGE 		55
#define M_ELVEN_MITHLONDSENTRY_PIKE_DAMAGE_UPGRADE	110

;Zephyr Strike
#define M_ZEPHYR_STRIKE_RANGE				0.8
#define M_ZEPHYR_STRIKE_DAMAGE				50
#define M_ZEPHYR_STRIKE_RADIUS				50
#define M_ZEPHYR_STRIKE_SHOCKWAVE_AMOUNT			35
#define M_ZEPHYR_STRIKE_SHOCKWAVE_RADIUS			100
#define M_ZEPHYR_STRIKE_SHOCKWAVE_SPEED			300

#define	M_ELVEN_MITHLONDSENTRY_BOUNTY_VALUE		5	; originally 5 	

;------------------------LINDONWARRIOR-------------

#define M_ELVEN_LINDONWARRIOR_BUILDCOST			600
#define M_ELVEN_LINDONWARRIOR_BUILDTIME			30 
#define M_ELVEN_LINDONWARRIOR_HEALTH			300	; Originally 125
#define M_ELVEN_LINDONWARRIOR_HEALTH_DAMAGED		150
#define M_ELVEN_LINDONWARRIOR_HEALTH_RECOVERY_TIME	10000
#define	M_ELVEN_LINDONWARRIOR_VISION_RANGE 		175
#define	M_ELVEN_LINDONWARRIOR_HORDE_VISION_RANGE 		175
#define	M_ELVEN_LINDONWARRIOR_HORDE_SHROUD_RANGE 		500

;Sword
#define M_ELVEN_LINDONWARRIOR_SWORD_PREATTACKDELAY 	700
#define M_ELVEN_LINDONWARRIOR_SWORD_DELAYBETWEENSHOTS 	1500
#define M_ELVEN_LINDONWARRIOR_SWORD_FIRINGDURATION 	800

;#define	M_ROHAN_ELVEN_RANGE			400
;#define	M_ROHAN_ELVEN_DAMAGE			30 
;#define	M_ROHAN_ELVEN_FIRE_UPGRADE_DAMAGE		30 
;#define	M_ROHAN_ELVEN_FIRE_UPGRADE_DAMAGE_FLAME	15 

#define	M_ELVEN_LINDONWARRIOR_MELEE_DAMAGE			120	;80 
#define	M_ELVEN_LINDONWARRIOR_MELEE_DAMAGE_UPGRADE		200	;160 

#define	M_ELVEN_LINDONWARRIOR_BOUNTY_VALUE		8


;------------------------LINDONARCHER-------------------

#define M_ELVEN_LINDONARCHER_BUILDCOST			600
#define M_ELVEN_LINDONARCHER_BUILDTIME			30 

#define M_ELVEN_LINDONARCHER_HEALTH			280	;250	; originally 125
#define M_ELVEN_LINDONARCHER_HEALTH_DAMAGED		140
#define M_ELVEN_LINDONARCHER_HEALTH_RECOVERY_TIME		10000

#define	M_ELVEN_LINDONARCHER_VISION_RANGE 		400 
#define M_ELVEN_LINDONARCHER_HORDE_SHROUD_RANGE		500
#define	M_ELVEN_LINDONARCHER_HORDE_VISION_RANGE 		350 	; Slightly shorter than the archer's actual weapon range / this should be considered the actual range of the unit. -GB

#define	M_ELVEN_LINDONARCHER_HORDE_BOMBARD_MINRANGE 	200
#define	M_ELVEN_LINDONARCHER_HORDE_BOMBARD_MAXRANGE 	350

#define	M_ELVEN_LINDONARCHER_ARCHER_RANGE			350
#define	M_ELVEN_LINDONARCHER_ARCHER_BOMBARD_MINRANGE	150
#define	M_ELVEN_LINDONARCHER_ARCHER_BOMBARD_MAXRANGE	350

#define	M_ELVEN_LORIENARCHER_ARCHER_DAMAGE		40 

#define	M_ELVEN_LORIENARCHER_ARCHER_DAMAGE_UPGRADE_PIERCE	60	; total=80
#define	M_ELVEN_LORIENARCHER_ARCHER_DAMAGE_UPGRADE_MAGIC	20	; total=80


;------------------------NOLDORWARRIOR-------------

#define M_ELVEN_NOLDORWARRIOR_BUILDCOST			1500
#define M_ELVEN_NOLDORWARRIOR_BUILDTIME			45 
#define M_ELVEN_NOLDORWARRIOR_HEALTH			500	; Originally 125
#define M_ELVEN_NOLDORWARRIOR_HEALTH_DAMAGED		150
#define M_ELVEN_NOLDORWARRIOR_HEALTH_RECOVERY_TIME	10000
#define	M_ELVEN_NOLDORWARRIOR_VISION_RANGE 		500
#define	M_ELVEN_NOLDORWARRIOR_HORDE_VISION_RANGE 		350
#define	M_ELVEN_NOLDORWARRIOR_HORDE_SHROUD_RANGE 		500

;Sword
#define M_ELVEN_NOLDORWARRIOR_SWORD_PREATTACKDELAY 	700
#define M_ELVEN_NOLDORWARRIOR_SWORD_DELAYBETWEENSHOTS 	1500
#define M_ELVEN_NOLDORWARRIOR_SWORD_FIRINGDURATION 	800

#define	M_ELVEN_NOLDORWARRIOR_MELEE_DAMAGE		120	; 80 
#define	M_ELVEN_NOLDORWARRIOR_MELEE_DAMAGE_UPGRADE	200	; 160 

#define	M_ELVEN_NOLDORWARRIOR_BOUNTY_VALUE		62



;------------------------PORTER-------------------------

#define M_ELVEN_PORTER_BUILDCOST				500
#define M_ELVEN_PORTER_BUILDTIME				30 
#define M_ELVEN_PORTER_HEALTH				500
#define M_ELVEN_PORTER_HEALTH_DAMAGED			250
#define M_ELVEN_PORTER_HEALTH_RECOVERY_TIME		10000
#define	M_ELVEN_PORTER_VISION_RANGE 			300
#define	M_ELVEN_PORTER_SHROUD_RANGE 			100

#define	M_ELVEN_PORTER_BOUNTY_VALUE       		125


;===========================ELVEN=======================
;=========================STRUCTURES====================

;------------------------MALLORN TREE-------------------

#define M_ELVEN_MALLORN_TREE_MONEY_TIME 				6000	; in milliseconds
#define M_ELVEN_MALLORN_TREE_MONEY_AMOUNT				25	; cash amount to deposit every DepositTiming
#define M_ELVEN_MALLORN_TREE_MONEY_RANGE				300

#define M_ELVEN_MALLORN_TREE_BUILDCOST				300
#define M_ELVEN_MALLORN_TREE_BUILDTIME				15
#define M_ELVEN_MALLORN_TREE_LEVEL2_UPGRADE_COST			500
#define M_ELVEN_MALLORN_TREE_LEVEL2_UPGRADE_BUILDTIME		30
#define M_ELVEN_MALLORN_TREE_LEVEL3_UPGRADE_COST			1000
#define M_ELVEN_MALLORN_TREE_LEVEL3_UPGRADE_BUILDTIME		60
#define	M_ELVEN_MALLORN_TREE_SHROUD_CLEAR				300
#define M_ELVEN_MALLORN_TREE_HEALTH				2000
#define M_ELVEN_MALLORN_TREE_HEALTH_DAMAGED			1333
#define M_ELVEN_MALLORN_TREE_HEALTH_REALLY_DAMAGED		667

#define	M_ELVEN_MALLORN_TREE_LVL1_EXP_AWARD 			40
#define	M_ELVEN_MALLORN_TREE_LVL2_EXP_AWARD 			50
#define	M_ELVEN_MALLORN_TREE_LVL3_EXP_AWARD 			60

#define M_ELVEN_MALLORN_TREE_LVL2_EXP_NEEDED			1500
#define M_ELVEN_MALLORN_TREE_LVL3_EXP_NEEDED 			3000

#define	M_ELVEN_MALLORN_TREE_LVL2_HP_ADD	 			500
#define	M_ELVEN_MALLORN_TREE_LVL3_HP_ADD	 			1000

#define M_ELVEN_MALLORN_TREE_LVL2_BUILD_SPEED 			1.25   
#define M_ELVEN_MALLORN_TREE_LVL3_BUILD_SPEED 			1.5    

#define	M_ELVEN_MALLORN_TREE_BOUNTY_VALUE				75

;------------------------FORGE------------------------------

#define M_ELVEN_FORGE_BUILDCOST					1000
#define M_ELVEN_FORGE_BUILDTIME					30
#define M_ELVEN_FORGE_LEVEL2_UPGRADE_COST				500
#define M_ELVEN_FORGE_LEVEL2_UPGRADE_BUILDTIME			30
#define M_ELVEN_FORGE_LEVEL3_UPGRADE_COST				1000
#define M_ELVEN_FORGE_LEVEL3_UPGRADE_BUILDTIME			60
#define	M_ELVEN_FORGE_SHROUD_CLEAR				160
#define M_ELVEN_FORGE_HEALTH					3000
#define M_ELVEN_FORGE_HEALTH_DAMAGED				2000
#define M_ELVEN_FORGE_HEALTH_REALLY_DAMAGED			1000

#define	M_ELVEN_FORGE_LVL1_EXP_AWARD 				50
#define	M_ELVEN_FORGE_LVL2_EXP_AWARD 				60
#define	M_ELVEN_FORGE_LVL3_EXP_AWARD 				70

#define M_ELVEN_FORGE_LVL2_EXP_NEEDED				100
#define M_ELVEN_FORGE_LVL3_EXP_NEEDED 				1000

#define	M_ELVEN_FORGE_LVL2_HP_ADD	 				1500
#define	M_ELVEN_FORGE_LVL3_HP_ADD	 				1500

#define M_ELVEN_FORGE_LVL2_BUILD_SPEED 				1.10   
#define M_ELVEN_FORGE_LVL3_BUILD_SPEED 				1.25    

#define	M_ELVEN_FORGE_BOUNTY_VALUE				250

;------------------------BARRACKS----------------------------

#define M_ELVEN_BARRACKS_BUILDCOST				400	; originally 300
#define M_ELVEN_BARRACKS_BUILDTIME				30
#define M_ELVEN_BARRACKS_LEVEL2_UPGRADE_COST			500
#define M_ELVEN_BARRACKS_LEVEL2_UPGRADE_BUILDTIME			30
#define M_ELVEN_BARRACKS_LEVEL3_UPGRADE_COST			1000
#define M_ELVEN_BARRACKS_LEVEL3_UPGRADE_BUILDTIME			60
#define	M_ELVEN_BARRACKS_SHROUD_CLEAR				160
#define M_ELVEN_BARRACKS_HEALTH					3000
#define M_ELVEN_BARRACKS_HEALTH_DAMAGED				2000
#define M_ELVEN_BARRACKS_HEALTH_REALLY_DAMAGED			1000

#define	M_ELVEN_BARRACKS_LVL1_EXP_AWARD 				50
#define	M_ELVEN_BARRACKS_LVL2_EXP_AWARD 				60
#define	M_ELVEN_BARRACKS_LVL3_EXP_AWARD 				70

#define M_ELVEN_BARRACKS_LVL2_EXP_NEEDED				100
#define M_ELVEN_BARRACKS_LVL3_EXP_NEEDED 				1000

#define	M_ELVEN_BARRACKS_LVL2_HP_ADD	 			1500
#define	M_ELVEN_BARRACKS_LVL3_HP_ADD	 			1500

#define M_ELVEN_BARRACKS_LVL2_BUILD_SPEED 			1.10   
#define M_ELVEN_BARRACKS_LVL3_BUILD_SPEED 			1.25    

#define	M_ELVEN_BARRACKS_BOUNTY_VALUE				75

;-----------------GREEN PASTURE AKA ELVEN STABLE-------------

#define M_ELVEN_GREEN_PASTURE_BUILDCOST				600
#define M_ELVEN_GREEN_PASTURE_BUILDTIME				30
#define M_ELVEN_GREEN_PASTURE_LEVEL2_UPGRADE_COST			200
#define M_ELVEN_GREEN_PASTURE_LEVEL2_UPGRADE_BUILDTIME		30
#define M_ELVEN_GREEN_PASTURE_LEVEL3_UPGRADE_COST			400
#define M_ELVEN_GREEN_PASTURE_LEVEL3_UPGRADE_BUILDTIME		60
#define	M_ELVEN_GREEN_PASTURE_SHROUD_CLEAR			160
#define M_ELVEN_GREEN_PASTURE_HEALTH				3000
#define M_ELVEN_GREEN_PASTURE_HEALTH_DAMAGED			2000
#define M_ELVEN_GREEN_PASTURE_HEALTH_REALLY_DAMAGED		1000
#define	M_ELVEN_GREEN_PASTURE_VISION_RANGE 			430

#define	M_ELVEN_GREEN_PASTURE_LVL1_EXP_AWARD 			50
#define	M_ELVEN_GREEN_PASTURE_LVL2_EXP_AWARD 			60
#define	M_ELVEN_GREEN_PASTURE_LVL3_EXP_AWARD 			70

#define M_ELVEN_GREEN_PASTURE_LVL2_EXP_NEEDED			100
#define M_ELVEN_GREEN_PASTURE_LVL3_EXP_NEEDED 			1000

#define	M_ELVEN_GREEN_PASTURE_LVL2_HP_ADD	 			1500
#define	M_ELVEN_GREEN_PASTURE_LVL3_HP_ADD	 			1500

#define M_ELVEN_GREEN_PASTURE_LVL2_BUILD_SPEED 			1.10   
#define M_ELVEN_GREEN_PASTURE_LVL3_BUILD_SPEED 			1.25    

#define	M_ELVEN_GREEN_PASTURE_BOUNTY_VALUE			150

#define M_ELVEN_GREEN_PASTURE_MAXHEALTH				3000
#define M_ELVEN_GREEN_PASTURE_MAXHEALTHDAMAGED			2000
#define M_ELVEN_GREEN_PASTURE_MAXHEALTH_REALLYDAMAGED		1000

//---------------------ELVEN FORTRESS-----------------

#define M_ELVEN_FORTRESS_BUILDCOST				5000
#define M_ELVEN_FORTRESS_BUILDTIME				120
#define M_ELVEN_FORTRESS_VISION_RANGE				400
#define	M_ELVEN_FORTRESS_SHROUD_CLEAR				800
#define M_ELVEN_FORTRESS_HEALTH					7500
#define M_ELVEN_FORTRESS_HEALTH_DAMAGED				5000
#define M_ELVEN_FORTRESS_HEALTH_REALLY_DAMAGED			2500
#define	M_ELVEN_FORTRESS_BOUNTY_VALUE				1250

#define M_ELVEN_FORTRESS_WALL_EFFECTIVE_RADIUS			1500

#define M_ELVEN_FORTRESS_FIRE_FUEL				140
#define M_ELVEN_FORTRESS_FIRE_MAX_BURN_RATE			20
#define M_ELVEN_FORTRESS_FIRE_DECAY				5
#define M_ELVEN_FORTRESS_FIRE_RESISTANCE				10

;//Encasing Vines Improvement
#define M_ELVEN_ENCASINGVINES_BUILDCOST				2000
#define M_ELVEN_ENCASINGVINES_BUILDTIME				30
#define M_ELVEN_ENCASINGVINES_HEALTH_BONUS			0 	; Nerfing the Fortress Armor Upgrade -GB

#define M_ELVEN_ENCASINGVINES_EXPANSION_HEALTH_BONUS		0 	; Nerfing the Fortress Armor Upgrade -GB
#define M_ELVEN_ENCASINGVINES_EXPANSION_ARMOR_BONUS		50%

;//Mystic Fountains Improvement
#define M_ELVEN_MYSTICFOUNTAINS_BUILDCOST				1500
#define M_ELVEN_MYSTICFOUNTAINS_BUILDTIME				30

;//Enchanted Anvil Improvement
#define M_ELVEN_ENCHANTEDANVIL_BUILDCOST				500
#define M_ELVEN_ENCHANTEDANVIL_BUILDTIME				30
	
;//Blessed Mist Improvement
#define M_ELVEN_BLESSEDMIST_BUILDCOST				1000
#define M_ELVEN_BLESSEDMIST_BUILDTIME				30

;//Crystal Moat Improvement
#define M_ELVEN_CRYSTALMOAT_BUILDCOST				1000
#define M_ELVEN_CRYSTALMOAT_BUILDTIME				30

;//Eagles and whatnot
#define M_ELVEN_EAGLENEST_BUILDCOST				2500
#define M_ELVEN_EAGLENEST_BUILDTIME				30

#define M_ELVEN_EAGLE_BUILDCOST					1500
#define M_ELVEN_EAGLE_BUILDTIME					60

;//-----------------------ELVEN WATCHTOWER EXPANSION-------------

#define M_ELVEN_WATCHTOWEREXPANSION_BUILDCOST			500
#define M_ELVEN_WATCHTOWEREXPANSION_BUILDTIME			30
#define M_ELVEN_WATCHTOWEREXPANSION_HEALTH			1000
#define M_ELVEN_WATCHTOWEREXPANSION_HEALTH_DAMAGED		500
#define M_ELVEN_WATCHTOWEREXPANSION_HEALTH_REALLY_DAMAGED		250
#define	M_ELVEN_WATCHTOWEREXPANSION_BOUNTY_VALUE			125

#define M_ELVEN_WATCHTOWEREXPANSION_FIRE_FUEL			100
#define M_ELVEN_WATCHTOWEREXPANSION_FIRE_MAX_BURN_RATE		20
#define M_ELVEN_WATCHTOWEREXPANSION_FIRE_DECAY			5
#define M_ELVEN_WATCHTOWEREXPANSION_FIRE_RESISTANCE		10

;//------------------------ELVEN VIGILANT ENT EXPANSION-----------

#define M_ELVEN_VIGILANTENTEXPANSION_BUILDCOST			1200
#define M_ELVEN_VIGILANTENTEXPANSION_BUILDTIME			30
#define M_ELVEN_VIGILANTENTEXPANSION_HEALTH			1000
#define M_ELVEN_VIGILANTENTEXPANSION_HEALTH_DAMAGED		500
#define M_ELVEN_VIGILANTENTEXPANSION_HEALTH_REALLY_DAMAGED	250
#define	M_ELVEN_VIGILANTENTEXPANSION_BOUNTY_VALUE			200

#define M_ELVEN_VIGILANTENTEXPANSION_FIRE_FUEL			100
#define M_ELVEN_VIGILANTENTEXPANSION_FIRE_MAX_BURN_RATE		20
#define M_ELVEN_VIGILANTENTEXPANSION_FIRE_DECAY			5
#define M_ELVEN_VIGILANTENTEXPANSION_FIRE_RESISTANCE		10

//Vigilant Ent Weapon
#define M_ELVEN_VIGILANTENT_ROCK_RANGE				600
#define M_ELVEN_VIGILANTENT_ROCK_DAMAGE				500
#define M_ELVEN_VIGILANTENT_ROCK_RANGE_MIN			200

;//------------------------ELVEN FLOODGATE EXPANSION--------------

#define M_ELVEN_FLOODGATEEXPANSION_BUILDCOST			1500
#define M_ELVEN_FLOODGATEEXPANSION_BUILDTIME			30
#define M_ELVEN_FLOODGATEEXPANSION_HEALTH				1000
#define M_ELVEN_FLOODGATEEXPANSION_HEALTH_DAMAGED			500
#define M_ELVEN_FLOODGATEEXPANSION_HEALTH_REALLY_DAMAGED		250
#define	M_ELVEN_FLOODGATEEXPANSION_BOUNTY_VALUE			375

#define M_ELVEN_FLOODGATEEXPANSION_DELAYBETWEENSHOTS		20000
#define M_ELVEN_FLOODGATEEXPANSION_PREATTACKDELAY			2500
#define M_ELVEN_FLOODGATEEXPANSION_FIRINGDURATION			3000
#define M_ELVEN_FLOODGATEEXPANSION_RANGE				100
#define M_ELVEN_FLOODGATE_EXPANSION_FLOOD_HORSE_DAMAGE		142
#define M_ELVEN_FLOODGATE_EXPANSION_FLOOD_HORSE_RADIUS		40.0

#define M_ELVEN_FLOODGATEEXPANSION_DECREASEBURNRATE_RADIUS	50.0
#define M_ELVEN_FLOODGATEEXPANSION_DECREASEBURNRATE_AMOUNT	100.0

;------------------------ElvenCastleWallHub------------------

#define M_ELVEN_CASTLE_WALLHUB_BUILDCOST				150
#define M_ELVEN_CASTLE_WALLHUB_BUILDTIME				20
#define M_ELVEN_CASTLE_WALLHUB_VISION_RANGE			160
#define M_ELVEN_CASTLE_WALLHUB_SHROUD_CLEAR			160
#define M_ELVEN_CASTLE_WALLHUB_HEALTH				1500
#define M_ELVEN_CASTLE_WALLHUB_HEALTH_DAMAGED			1000
#define M_ELVEN_CASTLE_WALLHUB_HEALTH_REALLY_DAMAGED		500

;------------------------ElvenCastleWallSegment-------------

#define M_ELVEN_CASTLE_WALLSEGMENT_BUILDCOST			40
#define M_ELVEN_CASTLE_WALLSEGMENT_BUILDTIME			20
#define M_ELVEN_CASTLE_WALLSEGMENT_VISION_RANGE			160
#define M_ELVEN_CASTLE_WALLSEGMENT_SHROUD_CLEAR			160
#define M_ELVEN_CASTLE_WALLSEGMENT_HEALTH				1500
#define M_ELVEN_CASTLE_WALLSEGMENT_HEALTH_DAMAGED			1000
#define M_ELVEN_CASTLE_WALLSEGMENT_HEALTH_REALLY_DAMAGED		500

;------------------------ElvenCastleWallGate-------------

#define M_ELVEN_CASTLE_WALLGATE_BUILDCOST				500
#define M_ELVEN_CASTLE_WALLGATE_BUILDTIME				20
#define M_ELVEN_CASTLE_WALLGATE_VISION_RANGE			160
#define M_ELVEN_CASTLE_WALLGATE_SHROUD_CLEAR			160
#define M_ELVEN_CASTLE_WALLGATE_HEALTH				1500
#define M_ELVEN_CASTLE_WALLGATE_HEALTH_DAMAGED			1000
#define M_ELVEN_CASTLE_WALLGATE_HEALTH_REALLY_DAMAGED		500

 ;------------------------STATUE-------------

#define M_ELVEN_STATUE_BUILDCOST					300
#define M_ELVEN_STATUE_BUILDTIME					45
#define	M_ELVEN_STATUE_VISION_RANGE 				300
#define	M_ELVEN_STATUE_SHROUD_CLEAR				300
#define M_ELVEN_STATUE_HEALTH					1000
#define M_ELVEN_STATUE_HEALTH_DAMAGED				666
#define M_ELVEN_STATUE_HEALTH_REALLY_DAMAGED			333
#define	M_ELVEN_STATUE_BOUNTY_VALUE				38

#define M_ELVEN_STATUE_AOE_RADIUS					200
#define M_ELVEN_STATUE_AOE_RADIUS_DECAL				440 	// should be about 2.2 times the radius
#define M_ELVEN_STATUE_REFUND_VALUE				75
   
 ;------------------------MOOT-------------

#define M_ELVEN_ENT_MOOT_COST					750	; originally 1000
#define M_ELVEN_ENT_REFUND_AMOUNT					500
#define M_ELVEN_ENT_MOOT_BUILD_TIME 				60
#define M_ELVEN_ENT_MOOT_HEALTH					6000
 
 ;------------------------WELL-------------

#define M_ELVEN_WELL_BUILDCOST					300
#define M_ELVEN_WELL_BUILDTIME					45
#define M_ELVEN_WELL_VISIONRANGE					400
#define M_ELVEN_WELL_SHROUDCLEAR					400
#define M_ELVEN_WELL_MAXHEALTH					1000
#define M_ELVEN_WELL_MAXHEALTHDAMAGED				666
#define M_ELVEN_WELL_MAXHEALTH_REALLYDAMAGED			333
#define M_ELVEN_WELL_BOUNTY_VALUE					50


;================ELVEN TECHNOLOGY AND UPGRADES==================
;===============================================================

#define M_ELVEN_TECH_BASIC_TRAINING_BUILDCOST			1000
#define M_ELVEN_TECH_BASIC_TRAINING_BUILDTIME			30

#define M_ELVEN_TECH_CLOAK_BUILDCOST				1000
#define M_ELVEN_TECH_CLOAK_BUILDTIME				30

#define M_ELVEN_TECH_SILVERTHORN_ARROWS_BUILDCOST			1000
#define M_ELVEN_TECH_SILVERTHORN_ARROWS_BUILDTIME			30

#define M_ELVEN_PERSONAL_BASIC_TRAINING_BUILDCOST			300
#define M_ELVEN_PERSONAL_BASIC_TRAINING_BUILDTIME			10

#define M_ELVEN_PERSONAL_CLOAK_BUILDCOST				300
#define M_ELVEN_PERSONAL_CLOAK_BUILDTIME				10

#define M_ELVEN_PERSONAL_SILVERTHORN_ARROWS_BUILDCOST		300
#define M_ELVEN_PERSONAL_SILVERTHORN_ARROWS_BUILDTIME		10

#define M_ELVEN_TECH_FORGED_BLADES_BUILDCOST			1000
#define M_ELVEN_TECH_FORGED_BLADES_BUILDTIME			30

#define M_ELVEN_PERSONAL_FORGED_BLADES_BUILDCOST			300
#define M_ELVEN_PERSONAL_FORGED_BLADES_BUILDTIME			10

#define M_ELVEN_TECH_HEAVY_ARMOR_BUILDCOST			1000
#define M_ELVEN_TECH_HEAVY_ARMOR_BUILDTIME			30

#define M_ELVEN_PERSONAL_HEAVY_ARMOR_BUILDCOST			300
#define M_ELVEN_PERSONAL_HEAVY_ARMOR_BUILDTIME			10

#define M_ELDERRACES_TECH_WAR_BARDING_BUILDCOST			1000
#define M_ELDERRACES_TECH_WAR_BARDING_BUILDTIME			30

#define M_ELDERRACES_PERSONAL_WAR_BARDING_BUILDCOST		300
#define M_ELDERRACES_PERSONAL_WAR_BARDING_BUILDTIME		10


#define M_ELVEN_CASTLE_WALL_HUB_EXP_AWARD				10
#define M_ELVEN_CASTLE_WALL_GATE_EXP_AWARD			10




;=========================MEN===========================
;========================UNITS==========================

;------------------------PORTER-----------------------

#define M_MEN_PORTER_BUILDCOST				500
#define M_MEN_PORTER_BUILDTIME				30
#define M_MEN_PORTER_HEALTH				500
#define M_MEN_PORTER_HEALTH_DAMAGED			250
#define M_MEN_PORTER_HEALTH_RECOVERY_TIME			10000
#define	M_MEN_PORTER_VISION_RANGE 			300
#define	M_MEN_PORTER_SHROUD_RANGE 			100

#define	M_MEN_PORTER_BOUNTY_VALUE       			125


;========================GONDOR=========================
;========================UNITS==========================

;------------------------PEASANT------------------------

#define M_GONDOR_PEASANT_BUILDCOST			80
#define M_GONDOR_PEASANT_BUILDTIME			20 	; 15
#define M_GONDOR_PEASANT_HEALTH				60
#define M_GONDOR_PEASANT_HEALTH_DAMAGED			60
#define M_GONDOR_PEASANT_HEALTH_RECOVERY_TIME		10000
#define	M_GONDOR_PEASANT_VISION_RANGE 			100

#define	M_GONDOR_PEASANT_BOUNTY_VALUE       		20

;------------------------SOLDIER------------------------

#define M_GONDOR_SOLDIER_BUILDCOST                	250	; Originally 200 	Have tried 300 
#define M_GONDOR_SOLDIER_BUILDTIME                	20 ;20
#define M_GONDOR_SOLDIER_HEALTH                  	 	200
#define M_GONDOR_SOLDIER_HEALTH_DAMAGED          	 	100
#define M_GONDOR_SOLDIER_HEALTH_RECOVERY_TIME    	 	10000

#define M_GONDOR_SOLDIER_VISION_RANGE             	175 
#define M_GONDOR_SOLDIER_SHROUD_RANGE             	400 

#define M_GONDOR_SOLDIER_HORDE_VISION_RANGE       	175
#define M_GONDOR_SOLDIER_HORDE_SHROUD_RANGE		400


#define M_GONDOR_SOLDIER_SWORD                    	40
#define M_GONDOR_SOLDIER_SWORD_UPGRADE            	80
#define M_GONDOR_SOLDIER_SWORD_PREATTACKDELAY     	500
#define M_GONDOR_SOLDIER_SWORD_DELAYBETWEENSHOTS  	1000
#define M_GONDOR_SOLDIER_SWORD_FIRINGDURATION     	1000
#define M_GONDOR_SOLDIER_BOUNTY_VALUE             	4	; originally 4

;------------------------ARCHER--------------------------

#define M_GONDOR_ARCHER_BUILDCOST                 	300 	; 200 originally 250
#define M_GONDOR_ARCHER_BUILDTIME                 	20 	; 20
#define M_GONDOR_ARCHER_HEALTH                    	150 	;100   80
#define M_GONDOR_ARCHER_HEALTH_DAMAGED            	75	;50 	; 80
#define M_GONDOR_ARCHER_HEALTH_RECOVERY_TIME    		10000
#define M_GONDOR_ARCHER_VISION_RANGE              	360
#define M_GONDOR_ARCHER_HORDE_VISION_RANGE        	370
#define M_GONDOR_ARCHER_HORDE_SHROUD_RANGE        	400

#define M_GONDOR_ARCHER_RANGE                     	300
#define M_GONDOR_ARCHER_BOMBARD_MINRANGE          	150
#define M_GONDOR_ARCHER_BOMBARD_MAXRANGE          	300

#define M_GONDOR_ARCHER_DAMAGE                    	35	;25  
#define M_GONDOR_ARCHER_FIRE_UPGRADE_DAMAGE       	35	;25 
#define M_GONDOR_ARCHER_FIRE_UPGRADE_FLAME        	25 

#define M_GONDOR_ARCHER_BOW_PREATTACKDELAY       		1000
#define M_GONDOR_ARCHER_BOW_RELOADTIME_MIN       		1500
#define M_GONDOR_ARCHER_BOW_RELOADTIME_MAX       		2000
#define M_GONDOR_ARCHER_BOUNTY_VALUE              	5	; originally 4

;------------------------KNIGHT------------------------

#define M_GONDOR_KNIGHT_BUILDCOST                 	500
#define M_GONDOR_KNIGHT_BUILDTIME                 	25 
#define M_GONDOR_KNIGHT_HEALTH                    	400 	; 240
#define M_GONDOR_KNIGHT_HEALTH_DAMAGED           		200 	; 240
#define M_GONDOR_KNIGHT_HEALTH_RECOVERY_TIME    		10000
#define M_GONDOR_KNIGHT_VISION_RANGE              	175 	; Probably Irrelevant, check generic shroud / vision clearing numbers -GB
#define M_GONDOR_KNIGHT_HORDE_VISION_RANGE        	175
#define M_GONDOR_KNIGHT_HORDE_SHROUD_RANGE        	300

#define M_GONDOR_KNIGHT_DAMAGE                     	80	;60
#define M_GONDOR_KNIGHT_FORGEDBLADES_UPGRADE      	120 
#define M_GONDOR_KNIGHT_PREATTACKDELAY            	500  
#define M_GONDOR_KNIGHT_DELAYBETWEENSHOTS        		1000 
#define M_GONDOR_KNIGHT_FIRINGDURATION           		1000 
#define M_GONDOR_KNIGHT_BOUNTY_VALUE              	12	; originally 10

;------------------------KNIGHTSOFDOL------------------------

#define M_GONDOR_KNIGHTSOFDOL_BUILDCOST                 	1500
#define M_GONDOR_KNIGHTSOFDOL_BUILDTIME                 	45 
#define M_GONDOR_KNIGHTSOFDOL_HEALTH                    	800 	
#define M_GONDOR_KNIGHTSOFDOL_HEALTH_DAMAGED           	400 	
#define M_GONDOR_KNIGHTSOFDOL_HEALTH_RECOVERY_TIME    	10000
#define M_GONDOR_KNIGHTSOFDOL_VISION_RANGE              	175 	; Probably Irrelevant, check generic shroud / vision clearing numbers -GB
#define M_GONDOR_KNIGHTSOFDOL_HORDE_VISION_RANGE        	175
#define M_GONDOR_KNIGHTSOFDOL_HORDE_SHROUD_RANGE        	300

#define M_GONDOR_KNIGHTSOFDOL_DAMAGE                     	250	
#define M_GONDOR_KNIGHTSOFDOL_CRUSH_DAMAGE                250	
;#define GONDOR_KNIGHTSOFDOL_FORGEDBLADES_UPGRADE      	120 
#define M_GONDOR_KNIGHTSOFDOL_PREATTACKDELAY            	500  
#define M_GONDOR_KNIGHTSOFDOL_DELAYBETWEENSHOTS        	1000 
#define M_GONDOR_KNIGHTSOFDOL_FIRINGDURATION           	1000 
#define M_GONDOR_KNIGHTSOFDOL_BOUNTY_VALUE              	75	; originally 10

;------------------------TOWERGUARD--------------------

#define M_GONDOR_TOWERGUARD_BUILDCOST                   	450	;500	; originally 350
#define M_GONDOR_TOWERGUARD_BUILDTIME                    	20 	; 30
#define M_GONDOR_TOWERGUARD_HEALTH                      	320
#define M_GONDOR_TOWERGUARD_HEALTH_DAMAGED              	160
#define M_GONDOR_TOWERGUARD_HEALTH_RECOVERY_TIME      	10000
#define M_GONDOR_TOWERGUARD_VISION_RANGE                	175
#define M_GONDOR_TOWERGUARD_HORDE_VISION_RANGE          	175
#define M_GONDOR_TOWERGUARD_HORDE_SHROUD_RANGE          	400

#define M_GONDOR_TOWERGUARD_DAMAGE                       	80	;50
#define M_GONDOR_TOWERGUARD_FORGEDBLADES_UPGRADE_DAMAGE 	100
#define M_GONDOR_TOWERGUARD_PREATTACKDELAY              	500
#define M_GONDOR_TOWERGUARD_DELAYBETWEENSHOTS          	1000 	; 1500
#define M_GONDOR_TOWERGUARD_FIRINGDURATION             	1000 	; 1500
#define M_GONDOR_TOWERGUARD_BOUNTY_VALUE                 	8	; originally 5

;------------------------SPEARMEN--------------------

#define M_GONDOR_SPEARMEN_BUILDCOST                   	300	; originally 350
#define M_GONDOR_SPEARMEN_BUILDTIME                    	20 	; 30
#define M_GONDOR_SPEARMEN_HEALTH                      	200
#define M_GONDOR_SPEARMEN_HEALTH_DAMAGED              	100
#define M_GONDOR_SPEARMEN_HEALTH_RECOVERY_TIME      	10000
#define M_GONDOR_SPEARMEN_VISION_RANGE                	175
#define M_GONDOR_SPEARMEN_HORDE_VISION_RANGE          	175
#define M_GONDOR_SPEARMEN_HORDE_SHROUD_RANGE          	400

#define M_GONDOR_SPEARMEN_DAMAGE                       	40	;50
#define M_GONDOR_SPEARMEN_FORGEDBLADES_UPGRADE_DAMAGE 	60
#define M_GONDOR_SPEARMEN_PREATTACKDELAY              	500
#define M_GONDOR_SPEARMEN_DELAYBETWEENSHOTS          	1000 	; 1500
#define M_GONDOR_SPEARMEN_FIRINGDURATION             	1000 	; 1500
#define M_GONDOR_SPEARMEN_BOUNTY_VALUE                 	5

;------------------------RANGER------------------------

#define M_GONDOR_RANGER_BUILDCOST                 	500
#define M_GONDOR_RANGER_BUILDTIME                 	30
#define M_GONDOR_RANGER_HEALTH                    	250	;400 	; 120
#define M_GONDOR_RANGER_HEALTH_DAMAGED            	100	;200 	; 120
#define M_GONDOR_RANGER_HEALTH_RECOVERY_TIME    		10000
#define M_GONDOR_RANGER_VISION_RANGE              	480
#define M_GONDOR_RANGER_HORDE_VISION_RANGE        	470
#define M_GONDOR_RANGER_HORDE_SHROUD_RANGE        	500

#define M_GONDOR_RANGER_RANGE                     	400
#define M_GONDOR_RANGER_BOMBARD_MINRANGE         		150
#define M_GONDOR_RANGER_BOMBARD_MAXRANGE          	400

#define M_GONDOR_RANGER_DAMAGE                    	75
#define M_GONDOR_RANGER_SWORD_DAMAGE              	20
#define M_GONDOR_RANGER_SWORD_DAMAGE_UPGRADE      	40

#define M_GONDOR_RANGER_FIRE_UPGRADE_DAMAGE        	100 	; 10 
#define M_GONDOR_RANGER_FIRE_UPGRADE_DAMAGE_FLAME  	50 	; 20

#define M_GONDOR_RANGER_BOW_PREATTACKDELAY       		1000
#define M_GONDOR_RANGER_BOW_RELOADTIME_MIN       		1500
#define M_GONDOR_RANGER_BOW_RELOADTIME_MAX       		2000
#define M_GONDOR_RANGER_BOUNTY_VALUE              	10	; originally 12

#define M_GONDOR_RANGER_LONGSHOT_RANGE			9999
#define M_GONDOR_RANGER_LONGSHOT_CURSOR_RADIUS		80
#define M_GONDOR_RANGER_LONGSHOT_DAMAGE			250
#define M_GONDOR_RANGER_LONGSHOT_RELOAD_TIME		240000

#define M_DUNEDAIN_ALLIES_LIFETIME			120000

;------------------------TREBUCHET-------------

#define M_GONDOR_TREBUCHET_BUILDCOST                  	1000
#define M_GONDOR_TREBUCHET_BUILDTIME                    	30
#define M_WALL_TREB_REBUILD_TIME                        	15
#define M_GONDOR_TREBUCHET_HEALTH                     	2000
#define M_GONDOR_TREBUCHET_HEALTH_DAMAGED             	1000
#define M_GONDOR_TREBUCHET_VISION_RANGE               	500

#define M_GONDOR_TREBUCHET_SPEED		            	30
 
#define M_GONDOR_TREBUCHET_LVL1_EXP_AWARD              	10

#define M_GONDOR_TREBUCHET_RANGE                      	500
#define M_GONDOR_TREBUCHET_MINRANGE                   	300

#define M_GONDOR_TREBUCHET_DAMAGE                     	600

#define M_GONDOR_TREBUCHET_FIRE_UPGRADE_DAMAGE        	900
#define M_GONDOR_TREBUCHET_FIRE_UPGRADE_DAMAGE_FLAME  	500 
#define M_GONDOR_TREBUCHET_PREATTACKDELAY            	1200
#define M_GONDOR_TREBUCHET_DELAYBETWEENSHOTS         	8000 
#define M_GONDOR_TREBUCHET_FIRINGDURATION            	5400

#define M_GONDOR_TREBUCHET_EXPANSION_AIM_DELTA		90
#define M_GONDOR_TREBUCHET_EXPANSION_SIDE_AIM_DELTA	90

;Fire Data
#define M_GONDOR_TREBUCHET_FIRE_RADIUS			40 
#define M_GONDOR_TREBUCHET_FIRE_DAMAGE			3 
#define M_GONDOR_TREBUCHET_FUEL_RADIUS			40
#define M_GONDOR_TREBUCHET_FUEL_DAMAGE			200
#define M_GONDOR_TREBUCHET_FUEL_MAX_BURNRATE		100
#define M_GONDOR_TREBUCHET_FUEL_MIN_DECAY			1
#define M_GONDOR_TREBUCHET_FUEL_MAX_RESISTANCE		0


#define M_GONDOR_TREBUCHET_FLAME_RANGE                	420 	; 480
#define M_GONDOR_TREBUCHET_BOUNTY_VALUE                	200

;------------------------BANNER-------------

#define M_GONDOR_BANNER_BUILDCOST				800
#define M_GONDOR_BANNER_BUILDTIME				30
#define M_GONDOR_BANNER_HEALTH				200
#define M_GONDOR_BANNER_HEALTH_DAMAGED			100
#define M_GONDOR_BANNER_HEALTH_RECOVERY_TIME		10000
#define	M_GONDOR_BANNER_VISION_RANGE 			175

#define	M_GONDOR_BANNER_LVL1_EXP_AWARD 			5
#define	M_GONDOR_BANNER_LVL2_EXP_AWARD 			6
#define	M_GONDOR_BANNER_LVL3_EXP_AWARD 			7
#define	M_GONDOR_BANNER_LVL4_EXP_AWARD 			8

#define	M_GONDOR_BANNER_LVL2_EXP_NEEDED 			10000
#define	M_GONDOR_BANNER_LVL3_EXP_NEEDED 			20000
#define	M_GONDOR_BANNER_LVL4_EXP_NEEDED 			30000

#define	M_GONDOR_BANNER_LVL2_HP_ADD	 		60
#define	M_GONDOR_BANNER_LVL3_HP_ADD	 		60 	; 100
#define	M_GONDOR_BANNER_LVL4_HP_ADD	 		60 	; 100

#define	M_GONDOR_BANNER_LVL2_DAM_ADD			20
#define	M_GONDOR_BANNER_LVL3_DAM_ADD			20
#define	M_GONDOR_BANNER_LVL4_DAM_ADD			20 	; 30
#define	M_GONDOR_BANNER_BOUNTY_VALUE			5

;uses same weapon as Gondor Warrior.  


;=============GONDOR TECHNOLOGY AND UPGRADES============
;=======================================================


#define M_GONDOR_TECH_BASIC_TRAINING_BUILDCOST		1000
#define M_GONDOR_TECH_BASIC_TRAINING_BUILDTIME		30

#define M_GONDOR_TECH_FIRE_ARROWS_BUILDCOST		1000
#define M_GONDOR_TECH_FIRE_ARROWS_BUILDTIME		30

#define M_GONDOR_TECH_FORGED_BLADES_BUILDCOST		1000
#define M_GONDOR_TECH_FORGED_BLADES_BUILDTIME		30

#define M_GONDOR_TECH_HEAVY_ARMOR_BUILDCOST		1000
#define M_GONDOR_TECH_HEAVY_ARMOR_BUILDTIME		30

#define M_GONDOR_TECH_KNIGHT_SHIELD_BUILDCOST		1000
#define M_GONDOR_TECH_KNIGHT_SHIELD_BUILDTIME		30

#define M_GONDOR_TECH_FIRE_STONES_BUILDCOST		1000
#define M_GONDOR_TECH_FIRE_STONES_BUILDTIME		30

;-----
#define M_GONDOR_PERSONAL_BASIC_TRAINING_BUILDCOST   	300 
#define M_GONDOR_PERSONAL_BASIC_TRAINING_BUILDTIME    	10

#define M_GONDOR_PERSONAL_FIRE_ARROWS_BUILDCOST      	300 
#define M_GONDOR_PERSONAL_FIRE_ARROWS_BUILDTIME      	10 

#define M_GONDOR_PERSONAL_FORGED_BLADES_BUILDCOST    	300
#define M_GONDOR_PERSONAL_FORGED_BLADES_BUILDTIME    	10

#define M_GONDOR_PERSONAL_HEAVY_ARMOR_BUILDCOST      	300
#define M_GONDOR_PERSONAL_HEAVY_ARMOR_BUILDTIME       	10

#define M_GONDOR_PERSONAL_KNIGHT_SHIELD_BUILDCOST    	300
#define M_GONDOR_PERSONAL_KNIGHT_SHIELD_BUILDTIME     	10

#define M_GONDOR_PERSONAL_FIRE_STONES_BUILDCOST      	300
#define M_GONDOR_PERSONAL_FIRE_STONES_BUILDTIME       	10

;------------------------FLAGS------------------------

#define M_GONDOR_FLAG_ECONOMY_UNPACK_COST			200
#define M_GONDOR_FLAG_OUTPOST_UNPACK_COST			800 	; 400
#define M_GONDOR_FLAG_CAMP_UNPACK_COST			2000 	; 800
#define M_GONDOR_FLAG_CASTLE_UNPACK_COST			5000


;=========================GONDOR========================
;=======================STRUCTURES======================

;------------------------Men Fortress-------------

#define M_MEN_FORTRESS_BUILDCOST				5000
#define M_MEN_FORTRESS_BUILDTIME				120
#define M_MEN_FORTRESS_VISION_RANGE			400
#define	M_MEN_FORTRESS_SHROUD_CLEAR			800
#define M_MEN_FORTRESS_HEALTH				7500
#define M_MEN_FORTRESS_HEALTH_DAMAGED			2500
#define M_MEN_FORTRESS_HEALTH_REALLY_DAMAGED		1250

#define	M_MEN_FORTRESS_BOUNTY_VALUE			1250

#define M_MEN_FORTRESS_WALL_EFFECTIVE_RADIUS		1500

#define M_MEN_FORTRESS_IVORY_TOWER_VISION_TIME		30000
#define M_MEN_FORTRESS_IVORY_TOWER_VISION_RANGE		99999.0  //Entire map

;-------------------MenTrebuchetExpansion-------------

#define M_MEN_TREBUCHETEXPANSION_BUILDCOST		1200
#define M_MEN_TREBUCHETEXPANSION_BUILDTIME		30
#define M_MEN_TREBUCHETEXPANSION_VISION_RANGE		500
#define	M_MEN_TREBUCHETEXPANSION_SHROUD_CLEAR		500
#define M_MEN_TREBUCHETEXPANSION_HEALTH			1500
#define M_MEN_TREBUCHETEXPANSION_HEALTH_DAMAGED		1000
#define M_MEN_TREBUCHETEXPANSION_HEALTH_REALLY_DAMAGED	500

;-------------------MenDormitoryExpansion-------------

#define M_MEN_DORMITORYEXPANSION_BUILDCOST		500
#define M_MEN_DORMITORYEXPANSION_BUILDTIME		10	; originally 5
#define M_MEN_DORMITORYEXPANSION_VISION_RANGE		500
#define	M_MEN_DORMITORYEXPANSION_SHROUD_CLEAR		500
#define M_MEN_DORMITORYEXPANSION_HEALTH			1500
#define M_MEN_DORMITORYEXPANSION_HEALTH_DAMAGED		1000
#define M_MEN_DORMITORYEXPANSION_HEALTH_REALLY_DAMAGED	500

#define M_MEN_DORMITORYEXPANSION_HEAL_AMOUNT		10	; 10 health restored...
#define M_MEN_DORMITORYEXPANSION_HEAL_TIMEOUT		1000	; ...evey second.

;------------------------FARM-------------

#define M_GONDOR_FARM_BUILDCOST				300
#define M_GONDOR_FARM_BUILDTIME				15
#define M_GONDOR_FARM_HEALTH				2000
#define M_GONDOR_FARM_HEALTH_DAMAGED			1333
#define M_GONDOR_FARM_HEALTH_REALLY_DAMAGED		667
#define	M_GONDOR_FARM_SHROUD_CLEAR			300
#define M_GONDOR_FARM_MONEY_TIME 				6000
#define M_GONDOR_FARM_MONEY_AMOUNT			25
#define M_GONDOR_FARM_MONEY_RANGE				300	; 200

#define	M_GONDOR_FARM_LVL1_EXP_AWARD 			40
#define	M_GONDOR_FARM_LVL2_EXP_AWARD 			50
#define	M_GONDOR_FARM_LVL3_EXP_AWARD 			60

#define M_GONDOR_FARM_LVL2_EXP_NEEDED			1500
#define M_GONDOR_FARM_LVL3_EXP_NEEDED 			3000

#define	M_GONDOR_FARM_LVL2_HP_ADD	 			500
#define	M_GONDOR_FARM_LVL3_HP_ADD	 			1000

#define M_GONDOR_FARM_LVL2_PRODUCTION 			1.25
#define M_GONDOR_FARM_LVL3_PRODUCTION 			1.5
#define	M_GONDOR_FARM_BOUNTY_VALUE			62

;------------------------FORGE  Black Smith -------------

#define M_GONDOR_FORGE_BUILDCOST                		1000
#define M_GONDOR_FORGE_BUILDTIME                  	60         
#define M_GONDOR_FORGE_HEALTH                   		1500
#define M_GONDOR_FORGE_HEALTH_DAMAGED           		1000
#define M_GONDOR_FORGE_HEALTH_REALLY_DAMAGED     		500
#define M_GONDOR_FORGE_SHROUD_CLEAR               	160
#define M_GONDOR_FORGE_MONEY_TIME                		6000
#define M_GONDOR_FORGE_MONEY_AMOUNT               	50
#define M_GONDOR_FORGE_LEVEL2_UPGRADE_COST		500
#define M_GONDOR_FORGE_LEVEL2_UPGRADE_BUILDTIME		30
#define M_GONDOR_FORGE_LEVEL3_UPGRADE_COST		1000
#define M_GONDOR_FORGE_LEVEL3_UPGRADE_BUILDTIME		60

#define M_GONDOR_FORGE_LVL1_EXP_AWARD             	50
#define M_GONDOR_FORGE_LVL2_EXP_AWARD             	60
#define M_GONDOR_FORGE_LVL3_EXP_AWARD             	70
 
#define M_GONDOR_FORGE_LVL2_EXP_NEEDED            	750     ; 1200  ; 750
#define M_GONDOR_FORGE_LVL3_EXP_NEEDED            	4000    ; 5000

#define M_GONDOR_FORGE_LVL2_HP_ADD                	1500
#define M_GONDOR_FORGE_LVL3_HP_ADD                	1500

#define M_GONDOR_FORGE_LVL2_PRODUCTION            	1.2   	; 1.34
#define M_GONDOR_FORGE_LVL3_PRODUCTION            	1.12  	; 1.25
#define M_GONDOR_FORGE_BOUNTY_VALUE               	250

;------------------------BARRACKS-------------

#define M_GONDOR_BARRACKS_BUILDCOST			400 	; originally 300
#define M_GONDOR_BARRACKS_BUILDTIME			30
#define M_GONDOR_BARRACKS_LEVEL2_UPGRADE_COST		500	; originally 100
#define M_GONDOR_BARRACKS_LEVEL2_UPGRADE_BUILDTIME	30
#define M_GONDOR_BARRACKS_LEVEL3_UPGRADE_COST		1000	; originally 200
#define M_GONDOR_BARRACKS_LEVEL3_UPGRADE_BUILDTIME	50	; originally 60
#define	M_GONDOR_BARRACKS_SHROUD_CLEAR			160
#define M_GONDOR_BARRACKS_HEALTH				3000
#define M_GONDOR_BARRACKS_HEALTH_DAMAGED			2000
#define M_GONDOR_BARRACKS_HEALTH_REALLY_DAMAGED		1000

#define	M_GONDOR_BARRACKS_LVL1_EXP_AWARD 			50
#define	M_GONDOR_BARRACKS_LVL2_EXP_AWARD 			60
#define	M_GONDOR_BARRACKS_LVL3_EXP_AWARD 			70

#define M_GONDOR_BARRACKS_LVL2_EXP_NEEDED			100
#define M_GONDOR_BARRACKS_LVL3_EXP_NEEDED 		1000

#define	M_GONDOR_BARRACKS_LVL2_HP_ADD	 		1500
#define	M_GONDOR_BARRACKS_LVL3_HP_ADD	 		1500

#define M_GONDOR_BARRACKS_LVL2_BUILD_SPEED 		1.10   
#define M_GONDOR_BARRACKS_LVL3_BUILD_SPEED 		1.25    

#define	M_GONDOR_BARRACKS_BOUNTY_VALUE			75

;------------------------ARCHERY RANGE-------------

#define M_GONDOR_ARCHERYRANGE_BUILDCOST			300
#define M_GONDOR_ARCHERYRANGE_BUILDTIME			30
#define M_GONDOR_ARCHERYRANGE_LEVEL2_UPGRADE_COST		500
#define M_GONDOR_ARCHERYRANGE_LEVEL2_UPGRADE_BUILDTIME	30
#define M_GONDOR_ARCHERYRANGE_LEVEL3_UPGRADE_COST		1000
#define M_GONDOR_ARCHERYRANGE_LEVEL3_UPGRADE_BUILDTIME	50	; originally 60
#define	M_GONDOR_ARCHERYRANGE_SHROUD_CLEAR		160
#define M_GONDOR_ARCHERYRANGE_HEALTH			3000
#define M_GONDOR_ARCHERYRANGE_HEALTH_DAMAGED		2000
#define M_GONDOR_ARCHERYRANGE_HEALTH_REALLY_DAMAGED	1000

#define	M_GONDOR_ARCHERYRANGE_LVL1_EXP_AWARD 		50
#define	M_GONDOR_ARCHERYRANGE_LVL2_EXP_AWARD 		60
#define	M_GONDOR_ARCHERYRANGE_LVL3_EXP_AWARD 		70

#define M_GONDOR_ARCHERYRANGE_LVL2_EXP_NEEDED		100
#define M_GONDOR_ARCHERYRANGE_LVL3_EXP_NEEDED 		1000

#define	M_GONDOR_ARCHERYRANGE_LVL2_HP_ADD	 		1500
#define	M_GONDOR_ARCHERYRANGE_LVL3_HP_ADD	 		1500

#define M_GONDOR_ARCHERYRANGE_LVL2_BUILD_SPEED 		1.10   
#define M_GONDOR_ARCHERYRANGE_LVL3_BUILD_SPEED 		1.25    

#define	M_GONDOR_ARCHERYRANGE_BOUNTY_VALUE		75

;------------------------STABLES-----------------------

#define M_GONDOR_STABLES_BUILDCOST			600
#define M_GONDOR_STABLES_BUILDTIME			30
#define M_GONDOR_STABLE_LEVEL2_UPGRADE_COST		500
#define M_GONDOR_STABLE_LEVEL2_UPGRADE_BUILDTIME		30
#define M_GONDOR_STABLE_LEVEL3_UPGRADE_COST		1000
#define M_GONDOR_STABLE_LEVEL3_UPGRADE_BUILDTIME		50	; originally 60
#define	M_GONDOR_STABLES_SHROUD_CLEAR			160
#define M_GONDOR_STABLES_HEALTH				3000
#define M_GONDOR_STABLES_HEALTH_DAMAGED			2000
#define M_GONDOR_STABLES_HEALTH_REALLY_DAMAGED		1000

#define	M_GONDOR_STABLES_LVL1_EXP_AWARD 			50
#define	M_GONDOR_STABLES_LVL2_EXP_AWARD 			60
#define	M_GONDOR_STABLES_LVL3_EXP_AWARD 			70


#define M_GONDOR_STABLES_LVL2_EXP_NEEDED			500
#define M_GONDOR_STABLES_LVL3_EXP_NEEDED 			1000

#define	M_GONDOR_STABLES_LVL2_HP_ADD	 		1500
#define	M_GONDOR_STABLES_LVL3_HP_ADD	 		1500

#define M_GONDOR_STABLES_LVL2_BUILD_SPEED 		1.10   
#define M_GONDOR_STABLES_LVL3_BUILD_SPEED 		1.25    

#define	M_GONDOR_STABLES_BOUNTY_VALUE			125

;------------------------WORKSHOP----------------------

#define M_GONDOR_WORKSHOP_BUILDCOST			700
#define M_GONDOR_WORKSHOP_BUILDTIME			30
#define M_GONDOR_WORKSHOP_LEVEL2_UPGRADE_COST		500
#define M_GONDOR_WORKSHOP_LEVEL2_UPGRADE_BUILDTIME	30
#define M_GONDOR_WORKSHOP_LEVEL3_UPGRADE_COST		500
#define M_GONDOR_WORKSHOP_LEVEL3_UPGRADE_BUILDTIME	50	; originally 60
#define	M_GONDOR_WORKSHOP_SHROUD_CLEAR			160
#define M_GONDOR_WORKSHOP_HEALTH				3000
#define M_GONDOR_WORKSHOP_HEALTH_DAMAGED			2000
#define M_GONDOR_WORKSHOP_HEALTH_REALLY_DAMAGED		1000

#define	M_GONDOR_WORKSHOP_LVL1_EXP_AWARD 			50
#define	M_GONDOR_WORKSHOP_LVL2_EXP_AWARD 			60
#define	M_GONDOR_WORKSHOP_LVL3_EXP_AWARD 			70

#define M_GONDOR_WORKSHOP_LVL2_EXP_NEEDED			3200
#define M_GONDOR_WORKSHOP_LVL3_EXP_NEEDED 		6400

#define	M_GONDOR_WORKSHOP_LVL2_HP_ADD	 		1500
#define	M_GONDOR_WORKSHOP_LVL3_HP_ADD	 		1500

#define M_GONDOR_WORKSHOP_LVL2_BUILD_SPEED 		1.10   
#define M_GONDOR_WORKSHOP_LVL3_BUILD_SPEED 		1.25    

#define	M_GONDOR_WORKSHOP_BOUNTY_VALUE			200

;------------------------KEEP------------- (AKA MOTW Battle Tower)

#define M_GONDOR_KEEP_BUILDCOST				700
#define M_GONDOR_KEEP_BUILDTIME				60
#define	M_GONDOR_KEEP_VISION_RANGE 			300
#define	M_GONDOR_KEEP_SHROUD_CLEAR			300
#define M_GONDOR_KEEP_HEALTH				3000
#define M_GONDOR_KEEP_HEALTH_DAMAGED			2000
#define M_GONDOR_KEEP_HEALTH_REALLY_DAMAGED		1000
#define	M_GONDOR_KEEP_BOUNTY_VALUE			175

;------------------------STATUE-----------------------

#define M_GONDOR_STATUE_BUILDCOST				300
#define M_GONDOR_STATUE_BUILDTIME				30 	; originally 45
#define	M_GONDOR_STATUE_VISION_RANGE 			300
#define	M_GONDOR_STATUE_SHROUD_CLEAR			300
#define M_GONDOR_STATUE_HEALTH				1250 	; originally 1500
#define M_GONDOR_STATUE_HEALTH_DAMAGED			1000
#define M_GONDOR_STATUE_HEALTH_REALLY_DAMAGED		500
#define	M_GONDOR_STATUE_BOUNTY_VALUE			25

#define M_GONDOR_STATUE_AOE_RADIUS			200
#define M_GONDOR_STATUE_AOE_RADIUS_DECAL			440 	// should be about 2.2 times the radius
#define M_GONDOR_STATUE_REFUND_VALUE			150

;------------------------WELL-------------------------

#define M_GONDOR_WELL_BUILDCOST				300
#define M_GONDOR_WELL_BUILDTIME				30 	; originally 45
#define M_GONDOR_WELL_VISIONRANGE				160
#define M_GONDOR_WELL_SHROUDCLEAR				160
#define M_GONDOR_WELL_MAXHEALTH				1250 	; originally 1500
#define M_GONDOR_WELL_MAXHEALTHDAMAGED			1000
#define M_GONDOR_WELL_MAXHEALTH_REALLYDAMAGED		500

#define	M_GONDOR_WELL_BOUNTY_VALUE			75

#define M_GONDOR_WELL_AOE_RADIUS				200
#define M_GONDOR_WELL_AOE_RADIUS_DECAL			440 	// should be about 2.2 times the radius
#define M_GONDOR_WELL_REFUND_VALUE			150

;------------------------STONEWORKER------------------

#define M_GONDOR_STONEWORKER_BUILDCOST			1500
#define M_GONDOR_STONEWORKER_BUILDTIME			45
#define	M_GONDOR_STONEWORKER_VISION_RANGE 		160
#define	M_GONDOR_STONEWORKER_SHROUD_CLEAR			160
#define M_GONDOR_STONEWORKER_HEALTH			2500
#define M_GONDOR_STONEWORKER_HEALTH_DAMAGED		1600
#define M_GONDOR_STONEWORKER_HEALTH_REALLY_DAMAGED	800
#define	M_GONDOR_STONEWORKER_BOUNTY_VALUE			375

;------------------------MARKETPLACE------------------

#define M_GONDOR_MARKETPLACE_BUILDCOST			1500
#define M_GONDOR_MARKETPLACE_BUILDTIME			45
#define	M_GONDOR_MARKETPLACE_VISION_RANGE 		160
#define	M_GONDOR_MARKETPLACE_SHROUD_CLEAR			160
#define M_GONDOR_MARKETPLACE_HEALTH			2500
#define M_GONDOR_MARKETPLACE_HEALTH_DAMAGED		1600
#define M_GONDOR_MARKETPLACE_HEALTH_REALLY_DAMAGED	800
#define	M_GONDOR_MARKETPLACE_EXP_AWARD  			15

#define	M_GONDOR_MARKETPLACE_BOUNTY_VALUE			375

;------------------------WALL-------------------------

#define M_GONDOR_CASTLE_WALL_HEALTH			3000
#define M_GONDOR_WALL_HUB_COST				250
#define M_GONDOR_WALL_SEGMENT_COST			100


;=======================UPGRADES=======================
;======================POSTERNGATE=====================

#define M_GONDOR_POSTERNGATE_BUILDCOST			300
#define M_GONDOR_WALL_POSTERN_GATE_SMALL_EXP_AWARD	10

;------------------------BATTLETOWER-------------------

; if the build speeds are changed, you must multiply this by the inverse of the speed,
; so if the build speed is 0.5, the delay should be multiplied by 2

#define M_GONDOR_BATTLETOWER_BUILDCOST         		500
#define M_GONDOR_CASTLE_WALL_UPGRADE_HEALTH    		1500
#define M_GONDOR_BATTLETOWER_BUILD_SPEED        		0.5 	; 1.0
#define M_GONDOR_BATTLETOWER_ATTACK_DELAY     		15000 	; 7500

#define M_LONE_TOWER_BUILD_TIME				5000
#define M_LONE_TOWER_EFFECTIVE_RADIUS			1500  	// How close to a fortress do I need to be??
#define M_BARRICADE_EFFECTIVE_RADIUS			1500  	// How close to a fortress do I need to be??

;// The structure-summoning spells (Lone Tower, Barricade, Undermine, Citadel
;// have a hard-coded 20-unit which disallows summoning if any structures are inside.
;// Thus, the decals for these spells have to be 20 greater than the 'size' of the
;// summoned object to accurately represent castability.
#define M_SPAWN_LONE_TOWER_DECAL_RADIUS			40	;// 20 + 20
#define M_SPAWN_BARRICADE_DECAL_RADIUS			60	;// 40 + 20
#define M_SPAWN_CITADEL_DECAL_RADIUS			120	;// 100 + 20
#define M_SPAWN_UNDERMINE_DECAL_RADIUS			95.0	;// 75 + 20

;------------------------WALLTREBUCHET---------------

; if the build speeds are changed, you must multiply this by the inverse of the speed,
; so if the build speed is 0.5, the delay should be multiplied by 2

#define M_GONDOR_WALLTREBUCHET_BUILDCOST       		1000
#define M_GONDOR_WALLTREBUCHET_BUILD_SPEED      		0.5 	; 1.0
#define M_GONDOR_WALLTREBUCHET_CREATE_DELAY    		14000 	; 7.0
#define M_GONDOR_WALL_TREBUCHET_SMALL_EXP_AWARD 		10

;------------------------IRONORE---------------------

#define M_GONDOR_IRONORE_BUILDCOST			1500
#define M_GONDOR_IRONORE_BUILDTIME			60
#define M_GONDOR_IRONORE_PRODUCTION_INCREASE		150

;------------------------GRANDHARVEST----------------

#define M_GONDOR_GRANDHARVEST_BUILDCOST			1500
#define M_GONDOR_GRANDHARVEST_BUILDTIME			60
#define M_GONDOR_GRANDHARVEST_PRODUCTION_INCREASE		110

;------------------------SIEGEMATERIALS--------------

#define M_GONDOR_SIEGEMATERIALS_BUILDCOST			500
#define M_GONDOR_SIEGEMATERIALS_BUILDTIME			60

;------------------------REINFORCEDGATE--------------

#define M_GONDOR_REINFORCEDGATE_BUILDCOST			1200
#define M_GONDOR_REINFORCEDGATE_HEALTH			3000

#define M_GONDOR_WALL_GATE_SMALL_EXP_AWARD		10

#define M_GONDOR_CASTLE_DOOR_HEALTH			3000

;------------------------NEMENORSTONEWORK-------------

#define M_GONDOR_NEMENORSTONEWORK_BUILDCOST        	2000

#define M_GONDOR_NEMENORSTONEWORK_BUILDTIME        	30

#define M_GONDOR_NEMENORSTONEWORK_WALL_HEALTH      	5000
#define M_GONDOR_NEMENORSTONEWORK_KEEP_HEALTH      	3000
#define M_GONDOR_NEMENORSTONEWORK_UPGRADE_HEALTH   	1000
#define M_GONDOR_NEMENORSTONEWORK_CITADEL_HEALTH   	2000

#define M_GONDOR_NEMENORSTONEWORK_UPGRADE_AMOUNT 		1.5 	; Used in a math operator, 1.5 = +50% armor. 

#define M_GONDOR_NEMENOR_STONEWORK_KEEP_ARMOR_BONUS 	50%
#define M_GONDOR_NEMENOR_STONEWORK_ARMOR_BONUS		50%

;---------------------GARRISON_FIREARROWS-------------

#define M_GONDOR_GARRISON_FIREARROWS_BUILDCOST     	3000  
#define M_GONDOR_GARRISON_FIREARROWS_BUILDTIME     	30

;----------------------Structure Bow------------------

; This weapon should be the equivalent of 5 men, which is why the timings
; are pretty fast.
#define M_STRUCTURE_BOW_DAMAGE					75
#define	M_GONDOR_STRUCTURE_ARCHER_RANGE				250  

#define M_GONDOR_STRUCTURE_ARCHER_BOW_PREATTACKDELAY 		20
#define M_GONDOR_STRUCTURE_ARCHER_BOW_DELAYBETWEENSHOTS_MIN 	20
#define M_GONDOR_STRUCTURE_ARCHER_BOW_DELAYBETWEENSHOTS_MAX 	50
#define M_GONDOR_STRUCTUR_ARCHER_BOW_FIRINGDURATION 		20

;----------------------Keep Bow----------------------

#define M_KEEP_BOW_DAMAGE						120
#define M_KEEP_BOW_UPGRADED_DAMAGE				20
#define	M_KEEP_ARCHER_RANGE					250  

#define M_KEEP_BOW_PREATTACKDELAY 				5
#define M_KEEP_BOW_DELAYBETWEENSHOTS_MIN 				5
#define M_KEEP_BOW_DELAYBETWEENSHOTS_MAX 				10 	; 20
#define M_KEEP_BOW_FIRINGDURATION 				5

;----------------------Wall Towers-------------------

#define M_WALL_TOWER_BOW_DAMAGE					75 	; 60
#define M_WALL_TOWER_BOW_DAMAGE_UPGRADE				150
#define M_GONDOR_WALL_TOWER_SMALL_EXP_AWARD			10

#define M_GONDOR_WALL_HUB_SMALL_EXP_AWARD				10


;=====================Men Walls===========================

;------------------------MenWallHubSmall------------------
#define M_MEN_WALLHUB_SMALL_BUILDCOST				200
#define M_MEN_WALLHUB_SMALL_BUILDTIME				25
#define M_MEN_WALLHUB_SMALL_VISION_RANGE				160
#define M_MEN_WALLHUB_SMALL_SHROUD_CLEAR				160
#define M_MEN_WALLHUB_SMALL_HEALTH				1500
#define M_MEN_WALLHUB_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_WALLHUB_SMALL_HEALTH_REALLY_DAMAGED			500

;------------------------Men Walls Small------------------
#define M_MEN_WALLSEGMENT_SMALL_BUILDCOST				50
#define M_MEN_WALLSEGMENT_SMALL_BUILDTIME				20
#define M_MEN_WALLSEGMENT_SMALL_VISION_RANGE			160
#define M_MEN_WALLSEGMENT_SMALL_SHROUD_CLEAR			160
#define M_MEN_WALLSEGMENT_SMALL_HEALTH				1500
#define M_MEN_WALLSEGMENT_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_WALLSEGMENT_SMALL_HEALTH_REALLY_DAMAGED		500

;------------------------MenWallGateSmall-----------------
#define M_MEN_WALLGATE_SMALL_BUILDCOST				500
#define M_MEN_WALLGATE_SMALL_BUILDTIME				25
#define M_MEN_WALLGATE_SMALL_VISION_RANGE				160
#define M_MEN_WALLGATE_SMALL_SHROUD_CLEAR				160
#define M_MEN_WALLGATE_SMALL_HEALTH				1500
#define M_MEN_WALLGATE_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_WALLGATE_SMALL_HEALTH_REALLY_DAMAGED		500

;------------------------MenWallPosternGateSmall-----------
#define M_MEN_POSTERNGATE_SMALL_BUILDCOST				300
#define M_MEN_POSTERNGATE_SMALL_BUILDTIME				15
#define M_MEN_POSTERNGATE_SMALL_VISION_RANGE			160
#define M_MEN_POSTERNGATE_SMALL_SHROUD_CLEAR			160
#define M_MEN_POSTERNGATE_SMALL_HEALTH				1500
#define M_MEN_POSTERNGATE_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_POSTERNGATE_SMALL_HEALTH_REALLY_DAMAGED		500

;------------------------MenWallTowerSmall-----------------
#define M_MEN_WALLTOWER_SMALL_BUILDCOST				500
#define M_MEN_WALLTOWER_SMALL_BUILDTIME				20
#define M_MEN_WALLTOWER_SMALL_VISION_RANGE			200
#define M_MEN_WALLTOWER_SMALL_SHROUD_CLEAR			250
#define M_MEN_WALLTOWER_SMALL_HEALTH				1500
#define M_MEN_WALLTOWER_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_WALLTOWER_SMALL_HEALTH_REALLY_DAMAGED		500

;------------------------MenWallTrebuchetSmall-------------
#define M_MEN_WALLTREBUCHET_SMALL_BUILDCOST			1200
#define M_MEN_WALLTREBUCHET_SMALL_BUILDTIME			30
#define M_MEN_WALLTREBUCHET_SMALL_VISION_RANGE			160
#define M_MEN_WALLTREBUCHET_SMALL_SHROUD_CLEAR			160
#define M_MEN_WALLTREBUCHET_SMALL_HEALTH				1500
#define M_MEN_WALLTREBUCHET_SMALL_HEALTH_DAMAGED			1000
#define M_MEN_WALLTREBUCHET_SMALL_HEALTH_REALLY_DAMAGED		500




;========================ROHAN=========================
;========================UNITS=========================

;------------------------PEASANTS----------------------

#define M_ROHAN_PEASANT_BUILDCOST				100
#define M_ROHAN_PEASANT_BUILDTIME				40
#define M_ROHAN_PEASANT_HEALTH				40
#define M_ROHAN_PEASANT_HEALTH_DAMAGED			40
#define M_ROHAN_PEASANT_HEALTH_RECOVERY_TIME		10000
#define	M_ROHAN_PEASANT_VISION_RANGE 			100

#define	M_ROHAN_FIGHTER_SWORD_DAMAGE	 		5
#define	M_ROHAN_FIGHTER_SWORD_DAMAGE_FORGED_UPGRADE	60
#define	M_ROHAN_PEASANT_DRAFT_ARMOR_BONUS			40	
#define	M_ROHAN_PEASANT_DRAFT_WEAPON_BONUS		5

#define M_ROHAN_PEASANT_PREATTACKDELAY 			400
#define M_ROHAN_PEASANT_DELAYBETWEENSHOTS 		1000 
#define M_ROHAN_PEASANT_FIRINGDURATION 			1000

#define	M_ROHAN_PEASANT_BOUNTY_VALUE			25


;------------------------ROHIRRIM----------------------	

#define M_ROHAN_ROHIRRIM_BUILDCOST                     	650	; Tried 650 
#define M_ROHAN_ROHIRRIM_BUILDTIME                      	45
#define M_ROHAN_ROHIRRIM_HEALTH                        	600	; 800 
#define M_ROHAN_ROHIRRIM_HEALTH_DAMAGED                	300	; 400 
#define M_ROHAN_ROHIRRIM_HEALTH_RECOVERY_TIME        	10000
#define M_ROHAN_ROHIRRIM_VISION_RANGE                  	200
#define M_ROHAN_ROHIRRIM_HORDE_VISION_RANGE            	370
#define M_ROHAN_ROHIRRIM_HORDE_SHROUD_RANGE            	400

#define M_ROHAN_ROHIRRIM_SWORD_DAMAGE                   	60
#define M_ROHAN_ROHIRRIM_SWORD_DAMAGE_FORGED_UPGRADE    	120

#define M_ROHAN_ROHIRRIM_PREATTACKDELAY                	500  	; 750
#define M_ROHAN_ROHIRRIM_DELAYBETWEENSHOTS            	1000  	; 750
#define M_ROHAN_ROHIRRIM_FIRINGDURATION               	1000  	; 750

#define M_ROHAN_ROHIRRIM_BOUNTY_VALUE                   	16


;------------------------ROHIRRIM ARCHER-------------

#define M_ROHAN_ROHIRRIM_ARCHER_BUILDCOST             	800	; originally 1000
#define M_ROHAN_ROHIRRIM_ARCHER_BUILDTIME               	40
#define M_ROHAN_ROHIRRIM_ARCHER_HEALTH                 	140 
#define M_ROHAN_ROHIRRIM_ARCHER_HEALTH_DAMAGED         	140 

#define M_ROHAN_HORSEBOW_RANGE                         	350
#define M_ROHAN_ROHIRRIM_BOW_DAMAGE                     	20 ;10
#define M_ROHAN_ROHIRRIM_BOW_FIRE_DAMAGE                	15 ;20


#define M_ROHAN_ROHIRRIM_ARCHER_HORDE_VISION_RANGE     	370
#define M_ROHAN_ROHIRRIM_ARCHER_VISION_RANGE           	380


;------------------------YEOMAN----------------------

#define M_ROHAN_YEOMAN_BUILDCOST				500 	; 200
#define M_ROHAN_YEOMAN_BUILDTIME				30 	; 15
#define M_ROHAN_YEOMAN_HEALTH				80
#define M_ROHAN_YEOMAN_HEALTH_DAMAGED			80
#define M_ROHAN_YEOMAN_HEALTH_RECOVERY_TIME		10000
#define	M_ROHAN_YEOMAN_VISION_RANGE 			480
#define	M_ROHAN_YEOMAN_HORDE_VISION_RANGE 		470
#define	M_ROHAN_YEOMAN_SHROUD_RANGE 			500

#define M_ROHAN_YEOMAN_PREATTACKDELAY 			1000
#define M_ROHAN_YEOMAN_BOW_RELOADTIME_MIN			1500
#define M_ROHAN_YEOMAN_BOW_RELOADTIME_MAX			2000

#define	M_ROHAN_YEOMAN_RANGE				450
;Yeoman damage is doubled because they miss 50%.  
#define	M_ROHAN_YEOMAN_DAMAGE				10
#define	M_ROHAN_YEOMAN_MELEE_DAMAGE			5

#define	M_ROHAN_YEOMAN_FIRE_UPGRADE_DAMAGE		10 
#define	M_ROHAN_YEOMAN_FIRE_UPGRADE_DAMAGE_FIRE		15 	; 20

#define	M_ROHAN_YEOMAN_BOUNTY_VALUE			12


;------------------------ELVENWARRIOR------------------

#define M_ROHAN_ELVENWARRIOR_BUILDCOST                 	700
#define M_ROHAN_ELVENWARRIOR_BUILDTIME                  	40 
#define M_ROHAN_ELVENWARRIOR_HEALTH                    	160
#define M_ROHAN_ELVENWARRIOR_HEALTH_DAMAGED            	160
#define M_ROHAN_ELVENWARRIOR_HEALTH_RECOVERY_TIME    	10000
#define M_ROHAN_ELVENWARRIOR_VISION_RANGE              	430
#define M_ROHAN_ELVENWARRIOR_HORDE_VISION_RANGE        	420

;Bow
#define M_ROHAN_ELVENWARRIOR_BOW_PREATTACKDELAY        	900
#define M_ROHAN_ELVENWARRIOR_BOW_RELOADTIME_MIN       	1250
#define M_ROHAN_ELVENWARRIOR_BOW_RELOADTIME_MAX       	2000

;Sword
#define M_ROHAN_ELVENWARRIOR_SWORD_PREATTACKDELAY      	700
#define M_ROHAN_ELVENWARRIOR_SWORD_DELAYBETWEENSHOTS  	1500
#define M_ROHAN_ELVENWARRIOR_SWORD_FIRINGDURATION      	800

#define M_ROHAN_ELVEN_RANGE                            	400
#define M_ROHAN_ELVEN_DAMAGE                            	30 	; 40
#define M_ROHAN_ELVEN_FIRE_UPGRADE_DAMAGE               	30 	; 40 
#define M_ROHAN_ELVEN_FIRE_UPGRADE_DAMAGE_FLAME         	15 	; 20
#define M_ROHAN_ELVEN_MELEE_DAMAGE                      	30 	; was not used in BFME...added to weapon for patch 1.02
#define M_ROHAN_ELVEN_MELEE_DAMAGE_UPGRADE              	60

#define M_ROHAN_ELVENWARRIOR_BOUNTY_VALUE               	12


;------------------------ROHANBANNER-------------------

#define M_ROHAN_BANNER_HEALTH				100
#define M_ROHAN_BANNER_HEALTH_DAMAGED			100
#define M_ROHAN_BANNER_HEALTH_RECOVERY_TIME		10000
#define	M_ROHAN_BANNER_VISION_RANGE 			100

#define	M_ROHAN_BANNER_LVL1_EXP_AWARD 			5
#define	M_ROHAN_BANNER_LVL2_EXP_AWARD 			6
#define	M_ROHAN_BANNER_LVL3_EXP_AWARD 			7
#define	M_ROHAN_BANNER_LVL4_EXP_AWARD 			8

#define	M_ROHAN_BANNER_LVL2_EXP_NEEDED 			10000
#define	M_ROHAN_BANNER_LVL3_EXP_NEEDED 			20000
#define	M_ROHAN_BANNER_LVL4_EXP_NEEDED 			30000

#define	M_ROHAN_BANNER_LVL2_HP_ADD	 		60
#define	M_ROHAN_BANNER_LVL3_HP_ADD	 		60 	; 100
#define	M_ROHAN_BANNER_LVL4_HP_ADD	 		60 	; 100

#define	M_ROHAN_BANNER_LVL2_DAM_ADD			20
#define	M_ROHAN_BANNER_LVL3_DAM_ADD			20
#define	M_ROHAN_BANNER_LVL4_DAM_ADD			20 	; 30

#define	M_ROHAN_BANNER_BOUNTY_VALUE			25
#define	M_ROHAN_BANNER_COST				800
#define	M_ROHAN_BANNER_BUILDTIME				30

;Uses Rohan Peasant weapon.  


;------------------------ROHANBANNERRIDER-------------

#define M_ROHAN_BANNERRIDER_HEALTH			400
#define M_ROHAN_BANNERRIDER_HEALTH_DAMAGED		400
#define M_ROHAN_BANNERRIDER_HEALTH_RECOVERY_TIME		10000
#define	M_ROHAN_BANNERRIDER_VISION_RANGE 			175

#define	M_ROHAN_BANNERRIDER_BOUNTY_VALUE			25

;uses Rohirrim weapon.  


;------------------------ROHANENT---------------------

#define M_ROHAN_ENT_BUILDCOST				1000
#define M_ROHAN_ENT_BUILDTIME				45
#define M_ROHAN_ENT_HEALTH				2000
#define	M_ROHAN_ENT_VISION_RANGE 				100
#define	M_ROHAN_ENT_WALK_SPEED 				50
#define	M_ROHAN_ENT_FIRE_THRESHOLD			0.2	; How much flame damage (percentage of health) do I need to take before starting on fire?

#define	M_ROHAN_ENT_BOUNTY_VALUE				250


;------------------------ROHANTREEBEARD---------------

#define M_ROHAN_TREEBEARD_HEALTH				5000
#define	M_ROHAN_TREEBEARD_VISION_RANGE 			100

#define	M_ROHAN_TREEBEARD_PUNCH_DAMAGE			600
#define	M_ROHAN_TREEBEARD_PUNCH_RADIUS			50
#define	M_ROHAN_TREEBEARD_KICK_DAMAGE			600
#define	M_ROHAN_TREEBEARD_KICK_RADIUS			20
#define	M_ROHAN_TREEBEARD_ROCK_DAMAGE		        600
#define	M_ROHAN_TREEBEARD_ROCK_RANGE			500 	; 600
#define	M_ROHAN_TREEBEARD_BUILDINGATTACK_DAMAGE		600

#define	M_ROHAN_TREEBEARD_BOUNTY_VALUE			750


;------------------------UPGRADES---------------------

#define M_GONDOR_WALLBANNER_BUILDCOST			800


;============ROHAN TECHNOLOGY AND UPGRADES============== 
;=======================================================

#define M_ROHAN_TECH_BASIC_TRAINING_BUILDCOST		1000
#define M_ROHAN_TECH_BASIC_TRAINING_BUILDTIME		30

#define M_ROHAN_TECH_FIRE_ARROWS_BUILDCOST		1000
#define M_ROHAN_TECH_FIRE_ARROWS_BUILDTIME		30

#define M_ROHAN_TECH_FORGED_BLADES_BUILDCOST		1000
#define M_ROHAN_TECH_FORGED_BLADES_BUILDTIME		30

#define M_ROHAN_TECH_HEAVY_ARMOR_BUILDCOST		1000
#define M_ROHAN_TECH_HEAVY_ARMOR_BUILDTIME		30

#define M_ROHAN_TECH_HORSE_SHIELD_BUILDCOST		1000
#define M_ROHAN_TECH_HORSE_SHIELD_BUILDTIME		30

;-----
#define M_ROHAN_PERSONAL_BASIC_TRAINING_BUILDCOST		300
#define M_ROHAN_PERSONAL_BASIC_TRAINING_BUILDTIME		10

#define M_ROHAN_PERSONAL_FIRE_ARROWS_BUILDCOST		300
#define M_ROHAN_PERSONAL_FIRE_ARROWS_BUILDTIME		10

#define M_ROHAN_PERSONAL_FORGED_BLADES_BUILDCOST		300
#define M_ROHAN_PERSONAL_FORGED_BLADES_BUILDTIME		10
	
#define M_ROHAN_PERSONAL_HEAVY_ARMOR_BUILDCOST		300
#define M_ROHAN_PERSONAL_HEAVY_ARMOR_BUILDTIME		10

#define M_ROHAN_PERSONAL_HORSE_SHIELD_BUILDCOST		300
#define M_ROHAN_PERSONAL_HORSE_SHIELD_BUILDTIME		10


;=========================ROHAN========================
;=======================STRUCTURES=====================

;------------------------STABLES----------------------

#define M_ROHAN_STABLES_BUILDCOST				600 	; 500
#define M_ROHAN_STABLES_BUILDTIME				30
#define M_ROHAN_STABLES_VISIONRANGE			160
#define M_ROHAN_STABLES_SHROUDCLEAR			161
#define M_ROHAN_STABLES_MAXHEALTH				3000
#define M_ROHAN_STABLES_MAXHEALTHDAMAGED			2000
#define M_ROHAN_STABLES_MAXHEALTH_REALLYDAMAGED		1000

#define	M_ROHAN_STABLES_LVL1_EXP_AWARD 			50
#define	M_ROHAN_STABLES_LVL2_EXP_AWARD 			60
#define	M_ROHAN_STABLES_LVL3_EXP_AWARD 			70

#define M_ROHAN_STABLES_LVL2_EXP_NEEDED			100
#define M_ROHAN_STABLES_LVL3_EXP_NEEDED 			1000

#define	M_ROHAN_STABLES_LVL2_HP_ADD	 		1500
#define	M_ROHAN_STABLES_LVL3_HP_ADD	 		1500	

#define M_ROHAN_STABLES_LVL2_BUILD_SPEED 			1.10   
#define M_ROHAN_STABLES_LVL3_BUILD_SPEED 			1.25    

#define	M_ROHAN_STABLES_BOUNTY_VALUE			150

;------------------------FARM-------------------------

#define M_ROHAN_FARM_BUILDCOST				350
#define M_ROHAN_FARM_BUILDTIME				15
#define M_ROHAN_FARM_HEALTH				1500
#define M_ROHAN_FARM_HEALTH_DAMAGED			1000
#define M_ROHAN_FARM_HEALTH_REALLY_DAMAGED		500
#define M_ROHAN_FARM_SHROUD_CLEAR				160
#define M_ROHAN_FARM_MONEY_TIME 				6000
#define M_ROHAN_FARM_MONEY_AMOUNT				20

#define	M_ROHAN_FARM_LVL1_EXP_AWARD 			10
#define	M_ROHAN_FARM_LVL2_EXP_AWARD 			15
#define	M_ROHAN_FARM_LVL3_EXP_AWARD 			20

#define M_ROHAN_FARM_LVL2_EXP_NEEDED			1200 	; 750
#define M_ROHAN_FARM_LVL3_EXP_NEEDED 			2700 	; 5000

#define	M_ROHAN_FARM_LVL2_HP_ADD	 			1500
#define	M_ROHAN_FARM_LVL3_HP_ADD	 			2000

#define M_ROHAN_FARM_LVL2_PRODUCTION 			1.2 	; 1.34
#define M_ROHAN_FARM_LVL3_PRODUCTION 			1.12 	; 1.25
;#define	ROHAN_FARM_BOUNTY_VALUE			50

;------------------------ARCHERYRANGE-----------------

#define M_ROHAN_ARCHERYRANGE_BUILDCOST			300
#define M_ROHAN_ARCHERYRANGE_BUILDTIME			15
#define M_ROHAN_ARCHERYRANGE_VISIONRANGE			160
#define M_ROHAN_ARCHERYRANGE_SHROUDCLEAR			161
#define M_ROHAN_ARCHERYRANGE_MAXHEALTH			3000
#define M_ROHAN_ARCHERYRANGE_MAXHEALTHDAMAGED		2000
#define M_ROHAN_ARCHERYRANGE_MAXHEALTH_REALLYDAMAGED	1000

#define	M_ROHAN_ARCHERYRANGE_LVL1_EXP_AWARD 		10
#define	M_ROHAN_ARCHERYRANGE_LVL2_EXP_AWARD 		15
#define	M_ROHAN_ARCHERYRANGE_LVL3_EXP_AWARD 		20

#define M_ROHAN_ARCHERYRANGE_LVL2_EXP_NEEDED		1000
#define M_ROHAN_ARCHERYRANGE_LVL3_EXP_NEEDED 		3600

#define	M_ROHAN_ARCHERYRANGE_LVL2_HP_ADD	 		1500
#define	M_ROHAN_ARCHERYRANGE_LVL3_HP_ADD	 		1500

#define M_ROHAN_ARCHERYRANGE_LVL2_BUILD_SPEED 		1.10   
#define M_ROHAN_ARCHERYRANGE_LVL3_BUILD_SPEED 		1.25    

#define	M_ROHAN_ARCHERYRANGE_BOUNTY_VALUE			75

;------------------------ARMORY-----------------------

#define M_ROHAN_ARMORY_BUILDCOST				1500
#define M_ROHAN_ARMORY_BUILDTIME				45
#define M_ROHAN_ARMORY_VISIONRANGE			160
#define M_ROHAN_ARMORY_SHROUDCLEAR			160
#define M_ROHAN_ARMORY_MAXHEALTH				3000
#define M_ROHAN_ARMORY_MAXHEALTHDAMAGED			2000
#define M_ROHAN_ARMORY_MAXHEALTH_REALLYDAMAGED		1000

#define	M_ROHAN_ARMORY_LVL1_EXP_AWARD 			50
#define	M_ROHAN_ARMORY_LVL2_EXP_AWARD 			60
#define	M_ROHAN_ARMORY_LVL3_EXP_AWARD 			70

#define M_ROHAN_ARMORY_LVL2_EXP_NEEDED			6000 	; 2400
#define M_ROHAN_ARMORY_LVL3_EXP_NEEDED 			10000 	; 4800

#define	M_ROHAN_ARMORY_LVL2_HP_ADD	 		1500
#define	M_ROHAN_ARMORY_LVL3_HP_ADD	 		1500

#define M_ROHAN_ARMORY_LVL2_BUILD_SPEED 			1.10   
#define M_ROHAN_ARMORY_LVL3_BUILD_SPEED 			1.25    

#define	M_ROHAN_ARMORY_BOUNTY_VALUE			375

;------------------------WELL-------------------------

#define M_ROHAN_WELL_BUILDCOST				200
#define M_ROHAN_WELL_BUILDTIME				45
#define M_ROHAN_WELL_VISIONRANGE				160
#define M_ROHAN_WELL_SHROUDCLEAR				160
#define M_ROHAN_WELL_MAXHEALTH				1500
#define M_ROHAN_WELL_MAXHEALTHDAMAGED			1300
#define M_ROHAN_WELL_MAXHEALTH_REALLYDAMAGED		700

#define	M_ROHAN_WELL_BOUNTY_VALUE				50

;------------------------WALL------------------------

#define M_ROHAN_CASTLE_WALL_HEALTH			5000

;------------------------HEROICSTATUE----------------

#define M_ROHAN_HEROSTATUE_BUILDCOST			150
#define M_ROHAN_HEROSTATUE_BUILDTIME			20
#define M_ROHAN_HEROSTATUE_VISIONRANGE			160
#define M_ROHAN_HEROSTATUE_SHROUDCLEAR			300
#define M_ROHAN_HEROSTATUE_MAXHEALTH			1500

#define	M_ROHAN_HEROSTATUE_BOUNTY_VALUE			38

;------------------------FLAGS-----------------------

#define M_ROHAN_FLAG_ECONOMY_UNPACK_COST			5000	; This is actally the ent moot
#define M_ROHAN_FLAG_ECONOMY_UNPACK_FARM_COST		200	; This is the farm
#define M_ROHAN_FLAG_ECONOMY_UNPACK_COMMANDPOINTS 	0	; This economy building requrest command points test
#define M_ROHAN_FLAG_OUTPOST_UNPACK_COST			800 	; 400
#define M_ROHAN_FLAG_CAMP_UNPACK_COST			2000 	; 800
#define M_ROHAN_FLAG_CASTLE_UNPACK_COST			5000

;------------------------MOOT------------------------

#define M_ROHAN_ENT_MOOT_COST				2000
#define M_ROHAN_ENT_MOOT_BUILD_TIME 			60
#define M_ROHAN_ENT_MOOT_HEALTH				6000

;------------------------FARM------------------------


#define M_ELVEN_FARM_LVL2_EXP_NEEDED			1000
#define M_ELVEN_FARM_LVL3_EXP_NEEDED 			7000




;******************************************************
;*						      *
;*		    EVIL FACTIONS 		      *
;*						      *
;******************************************************


;//=====================ANGMAR======================== 
;//=====================UNITS=========================


;------------------------PORTER------------------------
#define M_ANGMAR_PORTER_BUILDCOST				500
#define M_ANGMAR_PORTER_BUILDTIME				30
#define M_ANGMAR_PORTER_HEALTH				500
#define M_ANGMAR_PORTER_HEALTH_DAMAGED			250
#define M_ANGMAR_PORTER_HEALTH_RECOVERY_TIME		10000
#define	M_ANGMAR_PORTER_VISION_RANGE 			300
#define	M_ANGMAR_PORTER_SHROUD_RANGE 			100

#define	M_ANGMAR_PORTER_BOUNTY_VALUE       		125

;------------------------PEASANT----------------------

#define M_ANGMAR_PEASANT_BUILDCOST			80
#define M_ANGMAR_PEASANT_BUILDTIME			20 	; 15
#define M_ANGMAR_PEASANT_HEALTH				60
#define M_ANGMAR_PEASANT_HEALTH_DAMAGED			60
#define M_ANGMAR_PEASANT_HEALTH_RECOVERY_TIME		10000
#define	M_ANGMAR_PEASANT_VISION_RANGE 			100

#define	M_ANGMAR_PEASANT_BOUNTY_VALUE       		20

;------------------------DARKDUNEDAIN-----------------

#define M_ANGMAR_DARKDUNEDAIN_BUILDCOST                	400	; originally 300
#define M_ANGMAR_DARKDUNEDAIN_BUILDTIME                  	30 	; 20
#define M_ANGMAR_DARKDUNEDAIN_HEALTH                    	400
#define M_ANGMAR_DARKDUNEDAIN_HEALTH_DAMAGED            	100
#define M_ANGMAR_DARKDUNEDAIN_HEALTH_RECOVERY_TIME    	10000

#define M_ANGMAR_DARKDUNEDAIN_VISION_RANGE              	175 
#define M_ANGMAR_DARKDUNEDAIN_SHROUD_RANGE              	400 

#define M_ANGMAR_DARKDUNEDAIN_HORDE_VISION_RANGE        	175
#define M_ANGMAR_DARKDUNEDAIN_HORDE_SHROUD_RANGE	 	400


#define M_ANGMAR_SWORD_DAMAGE                     	100
#define M_ANGMAR_SWORD_DAMAGE_UPGRADE             	200
#define M_ANGMAR_SWORD_PREATTACKDELAY      		1250
#define M_ANGMAR_SWORD_DELAYBETWEENSHOTS  		1000
#define M_ANGMAR_SWORD_FIRINGDURATION     		2500
#define M_ANGMAR_DARKDUNEDAIN_BOUNTY_VALUE                11	; originally 5

;------------------------RANGER-----------------------

#define M_ANGMAR_RANGER_BUILDCOST                 	500
#define M_ANGMAR_RANGER_BUILDTIME                  	40
#define M_ANGMAR_RANGER_HEALTH                    	250	;400 	; 120
#define M_ANGMAR_RANGER_HEALTH_DAMAGED            	200 	; 120
#define M_ANGMAR_RANGER_HEALTH_RECOVERY_TIME    		10000
#define M_ANGMAR_RANGER_VISION_RANGE              	480
#define M_ANGMAR_RANGER_HORDE_VISION_RANGE        	470
#define M_ANGMAR_RANGER_HORDE_SHROUD_RANGE        	500

#define M_ANGMAR_RANGER_RANGE                     	400
#define M_ANGMAR_RANGER_BOMBARD_MINRANGE          	100
#define M_ANGMAR_RANGER_BOMBARD_MAXRANGE          	400

#define M_ANGMAR_RANGER_DAMAGE                     	100
#define M_ANGMAR_RANGER_SWORD_DAMAGE               	40
#define M_ANGMAR_RANGER_SWORD_DAMAGE_UPGRADE       	80

#define M_ANGMAR_RANGER_DAMAGE_FROST	        	50 	; 10 
#define M_ANGMAR_RANGER_DAMAGE_FROST_PIERCE	 	100 	; 20

#define M_ANGMAR_RANGER_BOW_PREATTACKDELAY       		1000
#define M_ANGMAR_RANGER_BOW_RELOADTIME_MIN       		1500
#define M_ANGMAR_RANGER_BOW_RELOADTIME_MAX       		2000

#define M_ANGMAR_RANGER_BOUNTY_VALUE               	10

#define M_ANGMAR_RANGER_LONGSHOT_RANGE			9999
#define M_ANGMAR_RANGER_LONGSHOT_CURSOR_RADIUS		80
#define M_ANGMAR_RANGER_LONGSHOT_DAMAGE			200
#define M_ANGMAR_RANGER_LONGSHOT_RELOAD_TIME		240000

;------------------------DireWolf---------------------

#define M_ANGMAR_DIREWOLF_BUILDCOST                	250
#define M_ANGMAR_DIREWOLF_BUILDTIME                  	30 	; 20
#define M_ANGMAR_DIREWOLF_HEALTH                    	250
#define M_ANGMAR_DIREWOLF_HEALTH_DAMAGED            	100
#define M_ANGMAR_DIREWOLF_HEALTH_RECOVERY_TIME    	10000

#define M_ANGMAR_DIREWOLF_VISION_RANGE              	175 
#define M_ANGMAR_DIREWOLF_SHROUD_RANGE              	400 

#define M_ANGMAR_DIREWOLF_HORDE_VISION_RANGE        	175
#define M_ANGMAR_DIREWOLF_HORDE_SHROUD_RANGE	 	400


#define M_ANGMAR_DIREWOLF_SWORD                      	75
#define M_ANGMAR_DIREWOLF_SWORD_UPGRADE             	80
#define M_ANGMAR_DIREWOLF_SWORD_PREATTACKDELAY      	800
#define M_ANGMAR_DIREWOLF_SWORD_DELAYBETWEENSHOTS  	1000
#define M_ANGMAR_DIREWOLF_SWORD_FIRINGDURATION     	400
#define M_ANGMAR_DIREWOLF_BOUNTY_VALUE                	8	; originally 5

;--------------------Wolf Riders---------------------
#define M_ANGMAR_WOLFRIDER_BUILDCOST			400
#define M_ANGMAR_WOLFRIDER_BUILDTIME			30
#define M_ANGMAR_WOLFRIDER_HEALTH				200
#define M_ANGMAR_WOLFRIDER_HEALTH_DAMAGED			100
#define M_ANGMAR_WOLFRIDER_HEALTH_RECOVERY_TIME		10000

#define M_ANGMAR_WOLFRIDER_DAMAGE				50
#define M_ANGMAR_WOLFRIDER_DAMAGE_UPGRADE			80
#define M_ANGMAR_WOLFRIDER_PREATTACKDELAY      		800
#define M_ANGMAR_WOLFRIDER_DELAYBETWEENSHOTS  		1000
#define M_ANGMAR_WOLFRIDER_FIRINGDURATION     		400

#define M_ANGMAR_WOLFRIDER_BOUNTY_VALUE			10

;------------------------SNOWTROLL--------------------

#define M_ANGMAR_SNOWTROLL_BUILDCOST			750	; originally 600 
#define M_ANGMAR_SNOWTROLL_BUILDTIME			40
#define	M_ANGMAR_SNOWTROLL_VISION_RANGE 			175
#define	M_ANGMAR_SNOWTROLL_SHROUD_RANGE			300
#define	M_ANGMAR_SNOWTROLL_HORDE_VISION_RANGE 		175
#define M_ANGMAR_SNOWTROLL_HEALTH				1000
#define M_ANGMAR_SNOWTROLL_HEALTH_DAMAGED			600
#define M_ANGMAR_SNOWTROLL_HEALTH_RECOVERY_TIME		5000

#define M_ANGMAR_SNOWTROLL_STAB_PREATTACKDELAY 		600
#define M_ANGMAR_SNOWTROLL_STAB_DELAYBETWEENSHOTS 	900
#define M_ANGMAR_SNOWTROLL_STAB_FIRINGDURATION 		900
#define M_ANGMAR_SNOWTROLL_STAB_DAMAGE			100
#define M_ANGMAR_SNOWTROLL_DAMAGE_UPGRADE			200
#define	M_ANGMAR_SNOWTROLL_BOUNTY_VALUE			31

#define	M_ANGMAR_SNOWTROLL_PICK_DAMAGE			100
#define	M_ANGMAR_SNOWTROLL_PICK_DAMAGE_UPGRADE		200

#define	M_ANGMAR_SNOWTROLL_DELAYBETWEENSHOTS		1500
#define	M_ANGMAR_SNOWTROLL_PREATTACKDELAY			400
#define	M_ANGMAR_SNOWTROLL_FIRINGDURATION			2100

;------------------------HILLTROLL--------------------

#define M_ANGMAR_HILLTROLL_BUILDCOST			600
#define M_ANGMAR_HILLTROLL_BUILDTIME			40
#define	M_ANGMAR_HILLTROLL_VISION_RANGE 			175
#define	M_ANGMAR_HILLTROLL_SHROUD_RANGE			300
#define	M_ANGMAR_HILLTROLL_HORDE_VISION_RANGE 		175
#define M_ANGMAR_HILLTROLL_HEALTH				1000
#define M_ANGMAR_HILLTROLL_HEALTH_DAMAGED			500
#define M_ANGMAR_HILLTROLL_HEALTH_RECOVERY_TIME		5000

#define M_ANGMAR_HILLTROLL_STAB_PREATTACKDELAY 		600
#define M_ANGMAR_HILLTROLL_STAB_DELAYBETWEENSHOTS 	900
#define M_ANGMAR_HILLTROLL_STAB_FIRINGDURATION 		900
#define M_ANGMAR_HILLTROLL_STAB_DAMAGE			100
#define M_ANGMAR_HILLTROLL_DAMAGE_UPGRADE			200
#define	M_ANGMAR_HILLTROLL_BOUNTY_VALUE			18

#define	M_ANGMAR_HILLTROLL_HAMMER_DAMAGE			150
#define	M_ANGMAR_HILLTROLL_HAMMER_DAMAGE_UPGRADE		300

#define	M_ANGMAR_HILLTROLL_DELAYBETWEENSHOTS		1500
#define	M_ANGMAR_HILLTROLL_PREATTACKDELAY			1000
#define	M_ANGMAR_HILLTROLL_FIRINGDURATION			2100

;------------------------necromancer------------------

#define M_ANGMAR_NECROMANCER_BUILDCOST                	500
#define M_ANGMAR_NECROMANCER_BUILDTIME                  	60  	; 20
#define M_ANGMAR_NECROMANCER_HEALTH                    	300
#define M_ANGMAR_NECROMANCER_HEALTH_DAMAGED            	100
#define M_ANGMAR_NECROMANCER_HEALTH_RECOVERY_TIME    	10000

#define M_ANGMAR_NECROMANCER_VISION_RANGE              	250
#define M_ANGMAR_NECROMANCER_SHROUD_RANGE              	400 

#define M_ANGMAR_NECROMANCER_HORDE_VISION_RANGE        	250
#define M_ANGMAR_NECROMANCER_HORDE_SHROUD_RANGE	 	400


#define M_ANGMAR_NECROMANCER_BOUNTY_VALUE                	15


;-------------------RHUDAUR SPEARMEN-------------------

#define M_ANGMAR_RHUDAURSPEAR_BUILDCOST			250	; originally 400 
#define M_ANGMAR_RHUDAURSPEAR_BUILDTIME			20
#define	M_ANGMAR_RHUDAURSPEAR_VISION_RANGE 		175
#define	M_ANGMAR_RHUDAURSPEAR_HORDE_VISION_RANGE 		175
#define	M_ANGMAR_RHUDAURSPEAR_SHROUD_RANGE 		400
#define M_ANGMAR_RHUDAURSPEAR_HEALTH			150
#define M_ANGMAR_RHUDAURSPEAR_HEALTH_DAMAGED		75
#define M_ANGMAR_RHUDAURSPEAR_HEALTH_RECOVERY_TIME	10000

#define M_ANGMAR_RHUDAURSPEAR_HORDE_THREAT 		100

#define M_ANGMAR_RHUDAURSPEAR_PREATTACKDELAY 		567
#define M_ANGMAR_RHUDAURSPEAR_DELAYBETWEENSHOTS 		633
#define M_ANGMAR_RHUDAURSPEAR_FIRINGDURATION 		633

#define	M_ANGMAR_RHUDAURSPEAR_BOUNTY_VALUE		2 	; Originally 8

#define M_ANGMAR_RHUDAURSPEAR_DAMAGE			40
#define M_ANGMAR_RHUDAURSPEAR_RADIUS			0

#define M_ANGMAR_RHUDAURSPEAR_TORCH_DAMAGE		30
#define M_ANGMAR_RHUDAURSPEAR_TORCH_RADIUS		0

#define M_ANGMAR_RHUDAURSPEAR_ROCK_DAMAGE			40

#define M_ANGMAR_RHUDAURSPEAR_THROWN_TORCH_DAMAGE		40
#define M_ANGMAR_RHUDAURSPEAR_THROWN_TORCH_RADIUS		20

#define M_ANGMAR_RHUDAURSPEAR_PILLAGE_AMOUNT		2
#define M_ANGMAR_RHUDAURSPEAR_PILLAGE_NUM_DAMAGES		1
#define M_ANGMAR_RHUDAURSPEAR_PILLAGE_FILTER		NONE +STRUCTURE

#define M_ANGMAR_RHUDAURSPEAR_SUMMON_DURATION		120000

;-------------------RHUDAUR SLINGERS-------------------

#define M_ANGMAR_RHUDAURSLING_BUILDCOST			200	; originally 400
#define M_ANGMAR_RHUDAURSLING_BUILDTIME			20
#define	M_ANGMAR_RHUDAURSLING_VISION_RANGE 		375	; originally 175
#define	M_ANGMAR_RHUDAURSLING_HORDE_VISION_RANGE 		350 	; originally 175
#define	M_ANGMAR_RHUDAURSLING_SHROUD_RANGE 		400
#define M_ANGMAR_RHUDAURSLING_HEALTH			100	;150
#define M_ANGMAR_RHUDAURSLING_HEALTH_DAMAGED		50	;75
#define M_ANGMAR_RHUDAURSLING_HEALTH_RECOVERY_TIME	10000

#define M_ANGMAR_RHUDAURSLING_PREATTACKDELAY 		567
#define M_ANGMAR_RHUDAURSLING_DELAYBETWEENSHOTS 		633
#define M_ANGMAR_RHUDAURSLING_FIRINGDURATION 		633

#define	M_ANGMAR_RHUDAURSLING_BOUNTY_VALUE		1	; originally 8

#define M_ANGMAR_RHUDAURSLING_DAMAGE			30	;40 	Tried 25 (too low)
#define M_ANGMAR_RHUDAURSLING_RADIUS			0

#define M_ANGMAR_RHUDAURSLING_TORCH_DAMAGE		30
#define M_ANGMAR_RHUDAURSLING_TORCH_RADIUS		0

#define M_ANGMAR_RHUDAURSLING_ROCK_DAMAGE			40

#define M_ANGMAR_RHUDAURSLING_THROWN_TORCH_DAMAGE		40
#define M_ANGMAR_RHUDAURSLING_THROWN_TORCH_RADIUS		20

#define M_ANGMAR_RHUDAURSLING_PILLAGE_AMOUNT		2
#define M_ANGMAR_RHUDAURSLING_PILLAGE_NUM_DAMAGES		1
#define M_ANGMAR_RHUDAURSLING_PILLAGE_FILTER		NONE +STRUCTURE

#define M_ANGMAR_RHUDAURSLING_SUMMON_DURATION		120000


;------------------GUNDABAD ORC WARRIORS---------------

#define M_ANGMAR_GUNDABAD_ORC_BUILDCOST			200
#define M_ANGMAR_GUNDABAD_ORC_DAMAGE			38

#define M_ANGMAR_GUNDABAD_ORC_BOUNTY_VALUE                0

;------------------------TROLLSLING--------------------

#define M_ANGMAR_TROLLSLING_BUILDCOST			600
#define M_ANGMAR_TROLLSLING_BUILDTIME			40
#define	M_ANGMAR_TROLLSLING_VISION_RANGE 			500
#define	M_ANGMAR_TROLLSLING_SHROUD_RANGE			500
#define	M_ANGMAR_TROLLSLING_HORDE_VISION_RANGE 		175
#define M_ANGMAR_TROLLSLING_HEALTH			800
#define M_ANGMAR_TROLLSLING_HEALTH_DAMAGED		150
#define M_ANGMAR_TROLLSLING_HEALTH_RECOVERY_TIME		10000

#define M_ANGMAR_TROLLSLING_STAB_PREATTACKDELAY 		600
#define M_ANGMAR_TROLLSLING_STAB_DELAYBETWEENSHOTS 	900
#define M_ANGMAR_TROLLSLING_STAB_FIRINGDURATION 		900
#define M_ANGMAR_TROLLSLING_STAB_DAMAGE			100
#define M_ANGMAR_TROLLSLING_DAMAGE_UPGRADE		200
#define	M_ANGMAR_TROLLSLING_BOUNTY_VALUE			14


;//======================ANGMAR========================
;//====================STRUCTURES======================

;//------------------------ANGMAR Fortress------------------

#define M_ANGMAR_FORTRESS_BUILDCOST				5000
#define M_ANGMAR_FORTRESS_BUILDTIME				120
#define M_ANGMAR_FORTRESS_VISION_RANGE				400
#define	M_ANGMAR_FORTRESS_SHROUD_CLEAR				800
#define M_ANGMAR_FORTRESS_HEALTH					7500
#define M_ANGMAR_FORTRESS_HEALTH_DAMAGED				5000
#define M_ANGMAR_FORTRESS_HEALTH_REALLY_DAMAGED			3500

#define	M_ANGMAR_FORTRESS_BOUNTY_VALUE				1250

#define M_ANGMAR_FORTRESS_WALL_EFFECTIVE_RADIUS			1500

#define M_ANGMAR_FORTRESS_FIRE_FUEL				50
#define M_ANGMAR_FORTRESS_FIRE_MAX_BURN_RATE			10
#define M_ANGMAR_FORTRESS_FIRE_DECAY				1
#define M_ANGMAR_FORTRESS_FIRE_RESISTANCE				5

//Gorgoroth Spire
#define M_ANGMAR_SANCTUM_BUILDCOST				2500
#define M_ANGMAR_SANCTUM_BUILDTIME				30
#define	M_ANGMAR_SANCTUM_ROCK_RANGE				2000
#define	M_ANGMAR_SANCTUM_ROCK_DAMAGE				1000
#define	M_ANGMAR_SANCTUM_FROST_DAMAGE				1000
#define M_ANGMAR_SANCTUM_ROCK_PREATTACKDELAY 			800
#define M_ANGMAR_SANCTUM_ROCK_DELAYBETWEENSHOTS 			6000
#define M_ANGMAR_SANCTUM_ROCK_FIRINGDURATION 			3000

#define M_ANGMAR_SIEGE_KEGS_BUILDCOST				1000
#define M_ANGMAR_SIEGE_KEGS_BUILDTIME				30

#define M_ANGMAR_OIL_CASK_BUILDCOST				1500
#define M_ANGMAR_OIL_CASK_BUILDTIME				30

#define M_ANGMAR_FORTRESS_BANNER_BUILDCOST			500
#define M_ANGMAR_FORTRESS_BANNER_BUILDTIME			5

#define M_ANGMAR_STONEWORK_BANNER_BUILDCOST			2000
#define M_ANGMAR_STONEWORK_BANNER_BUILDTIME			30

#define M_ANGMAR_FLAMING_MUNITIONS_BUILDCOST			1500
#define M_ANGMAR_FLAMING_MUNITIONS_BUILDTIME			30

#define M_ANGMAR_FORTRESS_DEATH_MASK_RANGE			300
#define M_ANGMAR_STONEWORK_KEEP_HEALTH_BONUS			0 	; Nerfing the Fortress Armor Upgrade -GB
#define M_ANGMAR_STONEWORK_KEEP_ARMOR_BONUS			50%
#define M_ANGMAR_STONEWORK_EXPANSION_HEALTH_BONUS		0 	; Nerfing the Fortress Armor Upgrade -GB
#define M_ANGMAR_STONEWORK_EXPANSION_ARMOR_BONUS			50%

;------------------------BARRACKS----------------------

#define M_ANGMAR_BARRACKS_BUILDCOST			400 	; originally 300
#define M_ANGMAR_BARRACKS_BUILDTIME			30
#define M_ANGMAR_BARRACKS_LVL2_UPGRADE_COST		300	; originally 500
#define M_ANGMAR_BARRACKS_LVL2_UPGRADE_TIME		30 	; originally 45
#define M_ANGMAR_BARRACKS_LVL3_UPGRADE_COST		500
#define M_ANGMAR_BARRACKS_LVL3_UPGRADE_TIME		60
#define	M_ANGMAR_BARRACKS_SHROUD_CLEAR			160
#define M_ANGMAR_BARRACKS_HEALTH				3000
#define M_ANGMAR_BARRACKS_HEALTH_DAMAGED			2000
#define M_ANGMAR_BARRACKS_HEALTH_REALLY_DAMAGED		1000

#define	M_ANGMAR_BARRACKS_LVL1_EXP_AWARD 			50
#define	M_ANGMAR_BARRACKS_LVL2_EXP_AWARD 			60
#define	M_ANGMAR_BARRACKS_LVL3_EXP_AWARD 			70

#define M_ANGMAR_BARRACKS_LVL2_EXP_NEEDED			100
#define M_ANGMAR_BARRACKS_LVL3_EXP_NEEDED 		1000

#define	M_ANGMAR_BARRACKS_LVL2_HP_ADD	 		1500
#define	M_ANGMAR_BARRACKS_LVL3_HP_ADD	 		1500

#define M_ANGMAR_BARRACKS_LVL2_BUILD_SPEED 		1.10   
#define M_ANGMAR_BARRACKS_LVL3_BUILD_SPEED 		1.25    

#define	M_ANGMAR_BARRACKS_BOUNTY_VALUE			75

;------------------------TROLLDEN---------------------

#define M_ANGMAR_TROLLDEN_BUILDCOST			450	; originally 1000 then 650
#define M_ANGMAR_TROLLDEN_BUILDTIME			45
#define	M_ANGMAR_TROLLDEN_SHROUD_CLEAR			160
#define	M_ANGMAR_TROLLDEN_VISION_RANGE			160
#define M_ANGMAR_TROLLDEN_HEALTH				1500
#define M_ANGMAR_TROLLDEN_HEALTH_DAMAGED			750
#define M_ANGMAR_TROLLDEN_HEALTH_REALLY_DAMAGED		500

#define	M_ANGMAR_TROLLDEN_LVL1_EXP_AWARD 			50
#define	M_ANGMAR_TROLLDEN_LVL2_EXP_AWARD 			60
#define	M_ANGMAR_TROLLDEN_LVL3_EXP_AWARD 			70

#define M_ANGMAR_TROLLDEN_LVL2_EXP_NEEDED			100
#define M_ANGMAR_TROLLDEN_LVL3_EXP_NEEDED 		1000

#define M_ANGMAR_TROLLDEN_LVL2_HP_ADD          		1500
#define M_ANGMAR_TROLLDEN_LVL3_HP_ADD          		1500

#define M_ANGMAR_TROLLDEN_LVL2_BUILD_SPEED 		1.10   
#define M_ANGMAR_TROLLDEN_LVL3_BUILD_SPEED 		1.25    

#define M_ANGMAR_TROLLDEN_LVL2_UPGRADE_COST		300	; originally 500
#define M_ANGMAR_TROLLDEN_LVL2_UPGRADE_TIME		30
#define M_ANGMAR_TROLLDEN_LVL3_UPGRADE_COST		500
#define M_ANGMAR_TROLLDEN_LVL3_UPGRADE_TIME		60

#define	M_ANGMAR_TROLLDEN_BOUNTY_VALUE			185

;------------------------HallofTwilight----------------

#define M_ANGMAR_HALLOFTWILIGHT_BUILDCOST			600	; originally 750
#define M_ANGMAR_HALLOFTWILIGHT_BUILDTIME			30
#define M_ANGMAR_HALLOFTWILIGHT_LVL2_UPGRADE_COST		500
#define M_ANGMAR_HALLOFTWILIGHT_LVL2_UPGRADE_TIME		30 	; originally 45
#define M_ANGMAR_HALLOFTWILIGHT_LVL3_UPGRADE_COST		500	; originally 500
#define M_ANGMAR_HALLOFTWILIGHT_LVL3_UPGRADE_TIME		60
#define	M_ANGMAR_HALLOFTWILIGHT_SHROUD_CLEAR		300
#define M_ANGMAR_HALLOFTWILIGHT_HEALTH			3000
#define M_ANGMAR_HALLOFTWILIGHT_HEALTH_DAMAGED		2000
#define M_ANGMAR_HALLOFTWILIGHT_HEALTH_REALLY_DAMAGED	1000

#define	M_ANGMAR_HALLOFTWILIGHT_LVL1_EXP_AWARD 		50
#define	M_ANGMAR_HALLOFTWILIGHT_LVL2_EXP_AWARD 		60
#define	M_ANGMAR_HALLOFTWILIGHT_LVL3_EXP_AWARD 		70

#define M_ANGMAR_HALLOFTWILIGHT_LVL2_EXP_NEEDED		100
#define M_ANGMAR_HALLOFTWILIGHT_LVL3_EXP_NEEDED 		1000

#define	M_ANGMAR_HALLOFTWILIGHT_LVL2_HP_ADD	 	1500
#define	M_ANGMAR_HALLOFTWILIGHT_LVL3_HP_ADD	 	1500

#define M_ANGMAR_HALLOFTWILIGHT_LVL2_BUILD_SPEED 		1.10   
#define M_ANGMAR_HALLOFTWILIGHT_LVL3_BUILD_SPEED 		1.25    

#define	M_ANGMAR_HALLOFTWILIGHT_BOUNTY_VALUE		75

;---------------DARK IRON FORGE-------------------

#define M_ANGMAR_FORGEWORKS_BUILDCOST			600
#define M_ANGMAR_FORGEWORKS_BUILDTIME			30
#define M_ANGMAR_FORGEWORKS_LVL2_UPGRADE_COST		500	; originally 500
#define M_ANGMAR_FORGEWORKS_LVL2_UPGRADE_TIME		45
#define M_ANGMAR_FORGEWORKS_LVL3_UPGRADE_COST		500	; originally 500
#define M_ANGMAR_FORGEWORKS_LVL3_UPGRADE_TIME		60
#define	M_ANGMAR_FORGEWORKS_SHROUD_CLEAR			300
#define M_ANGMAR_FORGEWORKS_HEALTH			3000
#define M_ANGMAR_FORGEWORKS_HEALTH_DAMAGED		2000
#define M_ANGMAR_FORGEWORKS_HEALTH_REALLY_DAMAGED		1000

#define	M_ANGMAR_FORGEWORKS_LVL1_EXP_AWARD 		50
#define	M_ANGMAR_FORGEWORKS_LVL2_EXP_AWARD 		60
#define	M_ANGMAR_FORGEWORKS_LVL3_EXP_AWARD 		70

#define M_ANGMAR_FORGEWORKS_LVL2_EXP_NEEDED		100
#define M_ANGMAR_FORGEWORKS_LVL3_EXP_NEEDED 		1000

#define	M_ANGMAR_FORGEWORKS_LVL2_HP_ADD	 		1500
#define	M_ANGMAR_FORGEWORKS_LVL3_HP_ADD	 		1500

#define M_ANGMAR_FORGEWORKS_LVL2_BUILD_SPEED 		1.10   
#define M_ANGMAR_FORGEWORKS_LVL3_BUILD_SPEED 		1.25    

#define	M_ANGMAR_FORGEWORKS_BOUNTY_VALUE			75

;------------------------MILL-------------------------

#define M_ANGMAR_MILL_BUILDCOST				300
#define M_ANGMAR_MILL_BUILDTIME				15 	; originally 30
#define M_ANGMAR_MILL_LVL2_UPGRADE_COST			500
#define M_ANGMAR_MILL_LVL2_UPGRADE_TIME			45
#define M_ANGMAR_MILL_LVL3_UPGRADE_COST			500
#define M_ANGMAR_MILL_LVL3_UPGRADE_TIME			60
#define	M_ANGMAR_MILL_SHROUD_CLEAR			300
#define M_ANGMAR_MILL_HEALTH				3000
#define M_ANGMAR_MILL_HEALTH_DAMAGED			2000
#define M_ANGMAR_MILL_HEALTH_REALLY_DAMAGED		1000

#define	M_ANGMAR_MILL_LVL1_EXP_AWARD 			50
#define	M_ANGMAR_MILL_LVL2_EXP_AWARD 			60
#define	M_ANGMAR_MILL_LVL3_EXP_AWARD 			70

#define M_ANGMAR_MILL_LVL2_EXP_NEEDED			100
#define M_ANGMAR_MILL_LVL3_EXP_NEEDED 			1000

#define	M_ANGMAR_MILL_LVL2_HP_ADD	 			1500
#define	M_ANGMAR_MILL_LVL3_HP_ADD	 			1500

#define M_ANGMAR_MILL_LVL2_BUILD_SPEED 			1.10   
#define M_ANGMAR_MILL_LVL3_BUILD_SPEED 			1.25    

#define	M_ANGMAR_MILL_BOUNTY_VALUE			75

;------------------------aNGMARWallHubSmall-----------------

#define M_ANGMAR_WALLHUB_SMALL_BUILDCOST				200
#define M_ANGMAR_WALLHUB_SMALL_BUILDTIME				30
#define M_ANGMAR_WALLHUB_SMALL_VISION_RANGE			160
#define M_ANGMAR_WALLHUB_SMALL_SHROUD_CLEAR			160
#define M_ANGMAR_WALLHUB_SMALL_HEALTH				3000
#define M_ANGMAR_WALLHUB_SMALL_HEALTH_DAMAGED			2000
#define M_ANGMAR_WALLHUB_SMALL_HEALTH_REALLY_DAMAGED		1000
#define M_ANGMAR_WALL_HUB_SMALL_EXP_AWARD			10

;------------------------ANGMAR Walls Small------------------

#define M_ANGMAR_WALLSEGMENT_SMALL_BUILDCOST			50
#define M_ANGMAR_WALLSEGMENT_SMALL_BUILDTIME			15
#define M_ANGMAR_WALLSEGMENT_SMALL_VISION_RANGE			160
#define M_ANGMAR_WALLSEGMENT_SMALL_SHROUD_CLEAR			160
#define M_ANGMAR_WALLSEGMENT_SMALL_HEALTH			3000
#define M_ANGMAR_WALLSEGMENT_SMALL_HEALTH_DAMAGED		2000
#define M_ANGMAR_WALLSEGMENT_SMALL_HEALTH_REALLY_DAMAGED		1000

;------------------------ANGMARWallGateSmall-----------------

#define M_ANGMAR_WALLGATE_SMALL_BUILDCOST			500
#define M_ANGMAR_WALLGATE_SMALL_BUILDTIME			30
#define M_ANGMAR_WALLGATE_SMALL_VISION_RANGE			160
#define M_ANGMAR_WALLGATE_SMALL_SHROUD_CLEAR			160
#define M_ANGMAR_WALLGATE_SMALL_HEALTH				2000
#define M_ANGMAR_WALLGATE_SMALL_HEALTH_DAMAGED			1500
#define M_ANGMAR_WALLGATE_SMALL_HEALTH_REALLY_DAMAGED		500
#define M_ANGMAR_WALL_GATE_SMALL_EXP_AWARD			10

;-----------------ANGMARWallPosternGateSmall----------------

#define M_ANGMAR_POSTERNGATE_SMALL_BUILDCOST			300
#define M_ANGMAR_POSTERNGATE_SMALL_BUILDTIME			15
#define M_ANGMAR_POSTERNGATE_SMALL_VISION_RANGE			160
#define M_ANGMAR_POSTERNGATE_SMALL_SHROUD_CLEAR			160
#define M_ANGMAR_POSTERNGATE_SMALL_HEALTH			1000
#define M_ANGMAR_POSTERNGATE_SMALL_HEALTH_DAMAGED		1500
#define M_ANGMAR_POSTERNGATE_SMALL_HEALTH_REALLY_DAMAGED		750
#define M_ANGMAR_WALL_POSTERN_GATE_SMALL_EXP_AWARD	10

;-------------------ANGMARWallTowerSmall--------------------

#define M_ANGMAR_WALLTOWER_SMALL_BUILDCOST			500
#define M_ANGMAR_WALLTOWER_SMALL_BUILDTIME			15
#define M_ANGMAR_WALLTOWER_SMALL_VISION_RANGE			200
#define M_ANGMAR_WALLTOWER_SMALL_SHROUD_CLEAR			250
#define M_ANGMAR_WALLTOWER_SMALL_HEALTH				3000
#define M_ANGMAR_WALLTOWER_SMALL_HEALTH_DAMAGED			2000
#define M_ANGMAR_WALLTOWER_SMALL_HEALTH_REALLY_DAMAGED		1000
#define M_ANGMAR_WALL_TOWER_SMALL_EXP_AWARD			10

;------------------ANGMARWallCatapultSmall------------------

#define M_ANGMAR_WALLCATAPULT_SMALL_BUILDCOST			1200
#define M_ANGMAR_WALLCATAPULT_SMALL_BUILDTIME			30
#define M_ANGMAR_WALLCATAPULT_SMALL_VISION_RANGE			160
#define M_ANGMAR_WALLCATAPULT_SMALL_SHROUD_CLEAR			160
#define M_ANGMAR_WALLCATAPULT_SMALL_HEALTH			3000
#define M_ANGMAR_WALLCATAPULT_SMALL_HEALTH_DAMAGED		2000
#define M_ANGMAR_WALLCATAPULT_SMALL_HEALTH_REALLY_DAMAGED	1000
#define M_ANGMAR_WALL_CATAPULT_SMALL_EXP_AWARD			10

;------------------------WALL--------------------------------
	
#define M_ANGMAR_CASTLE_WALL_HEALTH				5000
#define M_ANGMAR_WALL_HUB_COST					300
#define M_ANGMAR_WALL_SEGMENT_COST				200
#define M_ANGMAR_WALL_SEGMENT_BUILDTIME				15


;-------------------------Stone Thrower-----------------------------

;------------------------CATAPULT-------------

#define M_ANGMAR_STONETHROWER_BUILDCOST			300
#define M_ANGMAR_STONETHROWER_BUILDTIME			30 
#define M_ANGMAR_STONETHROWER_HEALTH			2000 	; 240
#define M_ANGMAR_STONETHROWER_HEALTH_DAMAGED		1000
#define	M_ANGMAR_STONETHROWER_VISION_RANGE 		550

#define	M_ANGMAR_STONETHROWER_LVL1_EXP_AWARD 		10

#define M_ANGMAR_STONETHROWER_ROCK_PREATTACKDELAY 	666
#define M_ANGMAR_STONETHROWER_ROCK_DELAYBETWEENSHOTS 	8000
#define M_ANGMAR_STONETHROWER_ROCK_FIRINGDURATION 	2880

#define	M_ANGMAR_STONETHROWER_ROCK_RANGE			400 	; 400
#define M_ANGMAR_STONETHROWER_ROCK_MINRANGE		300
#define	M_ANGMAR_STONETHROWER_ROCK_DAMAGE			500	;400
#define	M_ANGMAR_STONETHROWER_ROCK_DAMAGEUPGRADE		900	;400

#define	M_ANGMAR_STONETHROWER_FROST_DAMAGE		100
#define M_ANGMAR_STONETHROWER_ICE_PREATTACKDELAY 		666
#define M_ANGMAR_STONETHROWER_ICE_DELAYBETWEENSHOTS 	3000
#define M_ANGMAR_STONETHROWER_ICE_FIRINGDURATION 		2880
#define	M_ANGMAR_STONETHROWER_ICE_RANGE			420 	; 400
#define	M_ANGMAR_STONETHROWER_ICE_DAMAGE			500
#define	M_ANGMAR_STONETHROWER_BOUNTY_VALUE		125
#define M_ANGMAR_STONETHROWER_EXPANSION_AIM_DELTA		90


;//==============Angmar Tech & Upgrades==================
;//======================================================


#define M_ANGMAR_TECH_BASIC_TRAINING_BUILDCOST		1000
#define M_ANGMAR_TECH_BASIC_TRAINING_BUILDTIME		60

#define M_ANGMAR_TECH_DARKIRON_BLADES_BUILDCOST		1000	; 300
#define M_ANGMAR_TECH_DARKIRON_BLADES_BUILDTIME		30

#define M_ANGMAR_TECH_SIEGE_HAMMER_BUILDCOST		1000	; 300
#define M_ANGMAR_TECH_SIEGE_HAMMER_BUILDTIME		30

#define M_ANGMAR_TECH_HEAVY_COLLAR_BUILDCOST		500	; 300
#define M_ANGMAR_TECH_HEAVY_ARMOR_BUILDCOST		1000	; 300
#define M_ANGMAR_TECH_HEAVY_ARMOR_BUILDTIME		30

#define M_ANGMAR_TECH_ICE_SHOT_BUILDCOST			1000	; 300
#define M_ANGMAR_TECH_ICE_SHOT_BUILDTIME			30

#define M_ANGMAR_TECH_ICE_ARROWS_BUILDCOST		1000	; 300
#define M_ANGMAR_TECH_ICE_ARROWS_BUILDTIME		30

#define M_ANGMAR_TECH_SOUL_FREEZE_BUILDCOST		0	; 300
#define M_ANGMAR_TECH_SOUL_FREEZE_BUILDTIME		0

#define M_ANGMAR_TECH_CORPSE_RAIN_BUILDCOST		0	; 300
#define M_ANGMAR_TECH_CORPSE_RAIN_BUILDTIME		0

#define M_ANGMAR_TECH_WELL_OF_SOULS_BUILDCOST		0	; 300
#define M_ANGMAR_TECH_WELL_OF_SOULS_BUILDTIME		0

;-----
#define M_ANGMAR_PERSONAL_BASIC_TRAINING_BUILDCOST	300
#define M_ANGMAR_PERSONAL_BASIC_TRAINING_BUILDTIME	10

#define M_ANGMAR_PERSONAL_DARKIRON_BLADES_BUILDCOST	300
#define M_ANGMAR_PERSONAL_DARKIRON_BLADES_BUILDTIME	10

#define M_ANGMAR_PERSONAL_SIEGE_HAMMER_BUILDCOST		300
#define M_ANGMAR_PERSONAL_SIEGE_HAMMER_BUILDTIME		10

#define M_ANGMAR_PERSONAL_HEAVY_ARMOR_BUILDCOST		300
#define M_ANGMAR_PERSONAL_HEAVY_ARMOR_BUILDTIME		10

#define M_ANGMAR_PERSONAL_ICE_SHOT_BUILDCOST		300
#define M_ANGMAR_PERSONAL_ICE_SHOT_BUILDTIME		10

#define M_ANGMAR_PERSONAL_ICE_ARROWS_BUILDCOST		300
#define M_ANGMAR_PERSONAL_ICE_ARROWS_BUILDTIME		10

#define M_ANGMAR_PERSONAL_SOUL_FREEZE_BUILDCOST		300
#define M_ANGMAR_PERSONAL_SOUL_FREEZE_BUILDTIME		10

#define M_ANGMAR_PERSONAL_CORPSE_RAIN_BUILDCOST		500
#define M_ANGMAR_PERSONAL_CORPSE_RAIN_BUILDTIME		10

#define M_ANGMAR_PERSONAL_WELL_OF_SOULS_BUILDCOST		400
#define M_ANGMAR_PERSONAL_WELL_OF_SOULS_BUILDTIME		10



//=======================ANGMAR=========================
//=======================POWERS=========================

//--------------------SPELL BOOK POWERS-----------------

#define M_BLIGHT_EFFECT_RADIUS				200
#define M_BLIGHT_EFFECT_DECAL_SIZE        		400 	; 2x the radius guv'
#define M_BLIGHT_EFFECT_DURATION				180000
#define M_BLIGHT_EFFECT_FADE_ONE          		2000
#define M_BLIGHT_EFFECT_FADE_TWO         			298000
#define M_BLIGHT_EFFECT_FADE_PEAK         		8000
#define M_BLIGHT_TYPE_SPELL_OBJECT_FILTER			ANY +GondorFarm +DwarvenMineShaft +ElvenMallornTree +WildMineShaft +IsengardFurnace +MordorSlaughterHouse +ArnorFarm +AngmarMill ENEMIES

#define M_FROZEN_LAND_EFFECT_DECAL_SIZE        		400 	; 2x the radius guv'
#define M_FROZEN_LAND_EFFECT_DURATION			300000  ; In Milliseconds	ms = 5 minutes
#define M_FROZEN_LAND_EFFECT_FADE_ONE          		3500   	; In Milliseconds
#define M_FROZEN_LAND_EFFECT_FADE_TWO          		8000  ; In Milliseconds    296500
#define M_FROZEN_LAND_EFFECT_FADE_PEAK         		288500   ; In Milliseconds

#define M_CHILL_WIND_EFFECT_RADIUS			150
#define	M_CHILL_WIND_EFFECT_STRENGTH			100.0	; strength of pull force
#define M_CHILL_WIND_EFFECT_ZMULT				0.75	; multiplier to how high they fly
#define M_CHILL_WIND_EFFECT_DAMAGE			20
#define M_CHILL_WIND_TYPE_SPELL_OBJECT_FILTER		ANY +INFANTRY +CAVALRY +MONSTER +HORDE ENEMIES -BIG_MONSTER -MordorSauron -MordorSauron_RingHero -ElvenGaladriel -ElvenGaladriel_RingHero 


#define M_SNOWBIND_EFFECT_RADIUS				200
#define M_SNOWBIND_EFFECT_DURATION			30000
#define M_SNOWBIND_TYPE_SPELL_OBJECT_FILTER		ANY ENEMIES ALLIES +STRUCTURE

#define M_AVALANCHE_DAMAGE				150
#define M_AVALANCHE_RADIUS				40

//------------------------UNITS------------------------

#define M_ANGMAR_NECRO_BUILDCOST				500
#define M_ANGMAR_NECRO_BUILDTIME				30
#define M_ANGMAR_NECRO_HORDE_VISION_RANGE			250
#define M_ANGMAR_NECRO_SHROUD_RANGE			300
#define M_ANGMAR_NECRO_HORDE_THREAT			100


#define M_ANGMAR_NECRO_DEATH_MASK_RANGE			75
#define M_ANGMAR_NECRO_DEATH_MASK_DURATION		3000

#define M_ANGMAR_NECRO_BLACK_ICE_DECAL_SIZE        	200 	; 2x the radius guv'
#define M_ANGMAR_NECRO_BLACK_ICE_START_RANGE		300
#define M_ANGMAR_NECRO_BLACK_ICE_ATTACK_RADIUS		100
#define M_ANGMAR_NECRO_BLACK_ICE_DURATION			20000
#define M_ANGMAR_NECRO_BLACK_ICE_WEAPON_ID            	2

#define M_ANGMAR_NECRO_SOUL_FREEZE_START_RANGE		300
#define M_ANGMAR_NECRO_SOUL_FREEZE_ATTACK_RADIUS		75
#define M_ANGMAR_NECRO_SOUL_FREEZE_DURATION		17000
#define M_ANGMAR_NECRO_SOUL_FREEZE_WEAPON_ID          	3

#define M_ANGMAR_NECRO_CORPSE_RAIN_START_RANGE		300
#define M_ANGMAR_NECRO_CORPSE_RAIN_ATTACK_RADIUS		100
#define M_ANGMAR_NECRO_CORPSE_RAIN_DAMAGE			50
#define M_ANGMAR_NECRO_CORPSE_RAIN_DOT_DAMAGE		25
#define M_ANGMAR_NECRO_CORPSE_RAIN_NUM_CORPSES		6
#define M_ANGMAR_NECRO_CORPSE_RAIN_WEAPON_ID          	4

#define M_ANGMAR_NECRO_WELL_OF_SOULS_START_RANGE		250
#define M_ANGMAR_NECRO_WELL_OF_SOULS_ATTACK_RADIUS	75
#define M_ANGMAR_NECRO_WELL_OF_SOULS_DAMAGE		30
#define M_ANGMAR_NECRO_WELL_OF_SOULS_BUFF_RADIUS		400
#define M_ANGMAR_NECRO_WELL_OF_SOULS_HEAL_AMT         	0.5 	;// as percent so 1.0f is most likely 100.0% heal 0.5% would be 1/2 or 50%
#define M_ANGMAR_NECRO_WELL_OF_SOULS_WEAPON_ID        	1

#define M_ANGMAR_NECRO_FELL_STRENGTH_START_RANGE		300
#define M_ANGMAR_NECRO_FELL_STRENGTH_ATTACK_DAMAGE	50
#define M_ANGMAR_NECRO_FELL_STRENGTH_ATTACK_RADIUS	75
#define M_ANGMAR_NECRO_FELL_STRENGTH_BUFF_RANGE		200
#define M_ANGMAR_NECRO_FELL_STRENGTH_BUFF_RADIUS		250
#define M_ANGMAR_NECRO_FELL_STRENGTH_WEAPON_ID        	5   	;// we can only have up to 6

#define M_ANGMAR_THRALL_MASTER_BUILDCOST			100
#define M_ANGMAR_THRALL_MASTER_BUILDTIME			20
#define M_ANGMAR_THRALL_MASTER_BOUNTY_VALUE		25	; originally 15
#define M_ANGMAR_THRALL_MASTER_HEALTH			500
#define M_ANGMAR_THRALL_MASTER_HEALTH_DAMAGED		150
#define M_ANGMAR_THRALL_MASTER_HEALTH_RECOVERY_TIME	5000
#define	M_ANGMAR_THRALL_MASTER_VISION_RANGE 		175

#define	M_ANGMAR_THRALL_MASTER_PREATTACKDELAY             433; 300 is mace swing delay time before contact with target.
#define	M_ANGMAR_THRALL_MASTER_FIRINGDURATION    		467; Duration of the mace swing 


#define	M_ANGMAR_THRALL_MASTER_LVL1_EXP_AWARD 		3
#define	M_ANGMAR_THRALL_MASTER_LVL2_EXP_AWARD 		4
#define	M_ANGMAR_THRALL_MASTER_LVL3_EXP_AWARD 		5
#define	M_ANGMAR_THRALL_MASTER_LVL4_EXP_AWARD 		6
#define	M_ANGMAR_THRALL_MASTER_LVL2_EXP_NEEDED 		10000
#define	M_ANGMAR_THRALL_MASTER_LVL3_EXP_NEEDED 		20000
#define	M_ANGMAR_THRALL_MASTER_LVL4_EXP_NEEDED 		30000
#define	M_ANGMAR_THRALL_MASTER_LVL2_HP_ADD	 	50
#define	M_ANGMAR_THRALL_MASTER_LVL3_HP_ADD	 	50
#define	M_ANGMAR_THRALL_MASTER_LVL4_HP_ADD	 	50
#define	M_ANGMAR_THRALL_MASTER_LVL2_DAM_ADD		10
#define	M_ANGMAR_THRALL_MASTER_LVL3_DAM_ADD		10
#define	M_ANGMAR_THRALL_MASTER_LVL4_DAM_ADD		10

#define M_ANGMAR_THRALL_ORC_UPGRADE_COST			50
#define M_ANGMAR_THRALL_ORC_UPGRADE_TIME			1
#define M_ANGMAR_THRALL_WOLF_UPGRADE_COST			400
#define M_ANGMAR_THRALL_WOLF_UPGRADE_TIME			1
#define M_ANGMAR_THRALL_SPEAR_UPGRADE_COST		150
#define M_ANGMAR_THRALL_SPEAR_UPGRADE_TIME		1
#define M_ANGMAR_THRALL_SLING_UPGRADE_COST		50
#define M_ANGMAR_THRALL_SLING_UPGRADE_TIME		1

;--------------------Angmar Shade of the Wolf------------------------
#define M_SHADEOFWOLF_HEALTH				4000

#define	M_SHADEOFWOLF_SWORD_SWIPE_DAMAGE_NORMAL		400	; Normal attack with knockback
#define	M_SHADEOFWOLF_SWORD_SWIPE_DAMAGE_FROST		500 	; 1000
#define	M_SHADEOFWOLF_JUMP_DAMAGE				400
#define	M_SHADEOFWOLF_SUMMONING_DAMAGE			1000
#define M_SHADEOFWOLF_LIFETIME				90000
#define M_ANGMAR_SHADE_PACK_DAMAGE			150
#define M_ANGMAR_SHADE_PACK_RADIUS			40
#define M_SHROUD_CLEAR_SHADEOFWOLF			800
#define M_VISION_SHADEOFWOLF				400
#define M_ANGMAR_SHADE_LAMENT_DURATION			10000
#define M_ANGMAR_SHADE_LAMENT_RADIUS			150
#define M_ANGMAR_SHADE_LAMENT_DELAYBETWEENSHOTS 		120
#define M_ANGMAR_SHADE_LAMENT_PREATTACKDELAY 		1500;			150
#define M_ANGMAR_SHADE_LAMENT_FIRINGDURATION 		1000

#define M_ANGMAR_SHADE_CHOMP_PREATTACKDELAY 		500
#define M_ANGMAR_SHADE_CHOMP_DELAYBETWEENSHOTS 		30000
#define M_ANGMAR_SHADE_CHOMP_FIRINGDURATION 		1300
#define	M_ANGMAR_SHADE_CHOMP_DAMAGE			2000


;=======================ISENGARD======================
;========================UNITS========================

;------------------------PORTER-------------

#define M_ISENGARD_PORTER_BUILDCOST			500
#define M_ISENGARD_PORTER_BUILDTIME			30
#define M_ISENGARD_PORTER_HEALTH				500
#define M_ISENGARD_PORTER_HEALTH_DAMAGED			250
#define M_ISENGARD_PORTER_HEALTH_RECOVERY_TIME		10000
#define	M_ISENGARD_PORTER_VISION_RANGE 			300
#define	M_ISENGARD_PORTER_SHROUD_RANGE 			100

#define	M_ISENGARD_PORTER_BOUNTY_VALUE       		125

;------------------------URUKFIGHTER-------------

#define M_ISENGARD_URUKFIGHTER_BUILDCOST			400	; originally 300
#define M_ISENGARD_URUKFIGHTER_BUILDTIME			30 	; 20
#define	M_ISENGARD_URUKFIGHTER_VISION_RANGE 		175
#define	M_ISENGARD_URUKFIGHTER_HORDE_VISION_RANGE 	175
#define	M_ISENGARD_URUKFIGHTER_SHROUD_RANGE 		400
#define M_ISENGARD_URUKFIGHTER_HEALTH			300
#define M_ISENGARD_URUKFIGHTER_HEALTH_DAMAGED		150
#define M_ISENGARD_URUKFIGHTER_HEALTH_RECOVERY_TIME	10000

#define M_ISENGARD_URUKFIGHTER_PREATTACKDELAY 		1300
#define M_ISENGARD_URUKFIGHTER_DELAYBETWEENSHOTS 		633
#define M_ISENGARD_URUKFIGHTER_FIRINGDURATION 		1300
#define M_ISENGARD_URUKFIGHTER_DAMAGE			80	
#define M_ISENGARD_URUKFIGHTER_DAMAGE_UPGRADE		120 
#define	M_ISENGARD_URUKFIGHTER_BOUNTY_VALUE		7	; originally 5

;------------------------URUKPIKEMAN-------------

#define M_ISENGARD_URUKPIKEMAN_BUILDCOST			400	; originally 400
#define M_ISENGARD_URUKPIKEMAN_BUILDTIME			30 	; 20
#define	M_ISENGARD_URUKPIKEMAN_VISION_RANGE 		175
#define	M_ISENGARD_URUKPIKEMAN_SHROUD_RANGE 		400
#define	M_ISENGARD_URUKPIKEMAN_HORDE_VISION_RANGE 	175
#define M_ISENGARD_URUKPIKEMAN_HEALTH			300	;400
#define M_ISENGARD_URUKPIKEMAN_HEALTH_DAMAGED		80
#define M_ISENGARD_URUKPIKEMAN_HEALTH_RECOVERY_TIME	10000

#define M_ISENGARD_URUKPIKEMAN_STAB_PREATTACKDELAY 	600
#define M_ISENGARD_URUKPIKEMAN_STAB_DELAYBETWEENSHOTS 	900
#define M_ISENGARD_URUKPIKEMAN_STAB_FIRINGDURATION 	900
#define M_ISENGARD_URUKPIKEMAN_STAB_DAMAGE		45
#define M_ISENGARD_URUKPIKEMAN_DAMAGE_UPGRADE		90
#define M_URUK_PIKE_PORCUPINE_DAMAGE			100
#define	M_ISENGARD_URUKPIKEMAN_BOUNTY_VALUE		6	; originally 7

;------------------------URUKCROSSBOW-------------

#define M_ISENGARD_URUKCROSSBOW_BUILDCOST			300 	; 300
#define M_ISENGARD_URUKCROSSBOW_BUILDTIME			30 	; 20
#define	M_ISENGARD_URUKCROSSBOW_VISION_RANGE 		320
#define	M_ISENGARD_URUKCROSSBOW_HORDE_VISION_RANGE 	400
#define	M_ISENGARD_URUKCROSSBOW_SHROUD_RANGE 		500
#define M_ISENGARD_URUKCROSSBOW_HEALTH			180	; 160
#define M_ISENGARD_URUKCROSSBOW_HEALTH_DAMAGED		80
#define M_ISENGARD_URUKCROSSBOW_HEALTH_RECOVERY_TIME	10000

#define M_ISENGARD_URUKCROSSBOW_PREATTACKDELAY 		500
#define M_ISENGARD_URUKCROSSBOW_DELAYBETWEENSHOTS 	3500 	; 3500
#define M_ISENGARD_URUKCROSSBOW_FIRINGDURATION 		3500 	; 3500

#define M_ISENGARD_URUKCROSSBOW_RANGE			450
#define M_ISENGARD_URUKCROSSBOW_BOMBARD_MINRANGE		150
#define M_ISENGARD_URUKCROSSBOW_BOMBARD_MAXRANGE		450

;double damage because he misses 50% of the time
#define M_ISENGARD_URUKCROSSBOW_DAMAGE			35	; 25 
#define M_ISENGARD_URUKCROSSBOW_DAMAGE_UPGRADE		35 
#define M_ISENGARD_URUKCROSSBOW_DAMAGE_UPGRADE_FLAME	35 	; 20 

#define	M_ISENGARD_URUKCROSSBOW_BOUNTY_VALUE		5

;------------------------WARGRIDER-------------

#define M_ISENGARD_WARGRIDER_BUILDCOST			500	; tried 375
#define M_ISENGARD_WARGRIDER_BUILDTIME			30 
#define	M_ISENGARD_WARGRIDER_VISION_RANGE 		175
#define	M_ISENGARD_WARGRIDER_SHROUD_RANGE 		400
#define	M_ISENGARD_WARGRIDER_HORDE_VISION_RANGE 		175
#define M_ISENGARD_WARGRIDER_HEALTH			300	;400
#define M_ISENGARD_WARGRIDER_HEALTH_DAMAGED		200
#define M_ISENGARD_WARGRIDER_HEALTH_RECOVERY_TIME		10000

#define M_ISENGARD_WARGRIDER_PREATTACKDELAY 		666 
#define M_ISENGARD_WARGRIDER_DELAYBETWEENSHOTS 		2000
#define M_ISENGARD_WARGRIDER_FIRINGDURATION 		1333 

#define M_ISENGARD_WARGRIDER_DAMAGE			90	;100
#define M_ISENGARD_WARGRIDER_DAMAGE_UPGRADE		200

#define M_ISENGARD_WARGRIDER_WARG_PREATTACKDELAY 		800 
#define M_ISENGARD_WARGRIDER_WARG_DELAYBETWEENSHOTS 	1000
#define M_ISENGARD_WARGRIDER_WARG_FIRINGDURATION 		400 
 
#define M_ISENGARD_WARGRIDER_WARG_DAMAGE			60
#define	M_ISENGARD_WARGRIDER_BOUNTY_VALUE			12	; 

;------------------------Warg Pack---------------------

#define M_ISENGARD_WARGPACK_BUILDCOST                	250
#define M_ISENGARD_WARGPACK_BUILDTIME                  	30 	; 20
#define M_ISENGARD_WARGPACK_HEALTH                    	250
#define M_ISENGARD_WARGPACK_HEALTH_DAMAGED            	100
#define M_ISENGARD_WARGPACK_HEALTH_RECOVERY_TIME    	10000

#define M_ISENGARD_WARGPACK_VISION_RANGE              	175 
#define M_ISENGARD_WARGPACK_SHROUD_RANGE              	400 

#define M_ISENGARD_WARGPACK_HORDE_VISION_RANGE        	175
#define M_ISENGARD_WARGPACK_HORDE_SHROUD_RANGE	 	400


#define M_ISENGARD_WARGPACK_DAMAGE                   	60
#define M_ISENGARD_WARGPACK_SWORD_UPGRADE             	90
#define M_ISENGARD_WARGPACK_SWORD_PREATTACKDELAY      	800
#define M_ISENGARD_WARGPACK_SWORD_DELAYBETWEENSHOTS  	1000
#define M_ISENGARD_WARGPACK_SWORD_FIRINGDURATION     	400
#define M_ISENGARD_WARGPACK_BOUNTY_VALUE                	8	; originally 5



;------------------------FANATIC-------------

#define M_ISENGARD_FANATIC_MINI_BUILDCOST		1000
#define M_ISENGARD_FANATIC_MINI_BUILDTIME		45
#define	M_ISENGARD_FANATIC_VISION_RANGE 		175
#define	M_ISENGARD_FANATIC_HORDE_VISION_RANGE 	175
#define	M_ISENGARD_FANATIC_SHROUD_RANGE 		200
#define M_ISENGARD_FANATIC_HEALTH			1000
#define M_ISENGARD_FANATIC_HEALTH_DAMAGED		500
#define M_ISENGARD_FANATIC_HEALTH_RECOVERY_TIME	10000

#define	M_ISENGARD_FANATIC_LVL1_EXP_AWARD 	10

#define M_ISENGARD_FANATIC_PREATTACKDELAY 	567
#define M_ISENGARD_FANATIC_DELAYBETWEENSHOTS 	1000
#define M_ISENGARD_FANATIC_FIRINGDURATION 	633
#define M_ISENGARD_FANATIC_DAMAGE			250
#define M_ISENGARD_FANATIC_RADIUS			15
#define M_ISENGARD_FANATIC_ARC			90
#define	M_ISENGARD_FANATIC_BOUNTY_VALUE		83
;has an 80% dodge chance
#define M_ISENGARD_FANATIC_DEATH_DELAYBETWEENSHOTS 	633
#define M_ISENGARD_FANATIC_DEATH_DAMAGE			400
#define M_ISENGARD_FANATIC_DOT_DAMAGE			3


#define M_FANATIC_DAMAGED_SPEED_MULT 1.1
#define M_FANATIC_DAMAGED_DAMAGE_MULT 1.1
#define M_FANATIC_REALLY_DAMAGED_SPEED_MULT 1.5
#define M_FANATIC_REALLY_DAMAGED_DAMAGE_MULT 1.5

;------------------------BERSERKER-------------

#define M_ISENGARD_BERSERKER_BUILDCOST			300		; originally 300 for a single
#define M_ISENGARD_BERSERKER_MINI_BUILDCOST		1000
#define M_ISENGARD_BERSERKER_BUILDTIME			25		; originally 25 for single
#define M_ISENGARD_BERSERKER_MINI_BUILDTIME		45
#define	M_ISENGARD_BERSERKER_VISION_RANGE 		175
#define	M_ISENGARD_BERSERKER_HORDE_VISION_RANGE 		175
#define	M_ISENGARD_BERSERKER_SHROUD_RANGE 		200
#define M_ISENGARD_BERSERKER_HEALTH			800
#define M_ISENGARD_BERSERKER_HEALTH_DAMAGED		400
#define M_ISENGARD_BERSERKER_HEALTH_RECOVERY_TIME		10000

#define	M_ISENGARD_BERSERKER_LVL1_EXP_AWARD 		10

#define M_ISENGARD_BERSERKER_PREATTACKDELAY 		567
#define M_ISENGARD_BERSERKER_DELAYBETWEENSHOTS 		633
#define M_ISENGARD_BERSERKER_FIRINGDURATION 		633
#define M_ISENGARD_BERSERKER_DAMAGE			300
#define M_ISENGARD_BERSERKER_RADIUS			15
#define M_ISENGARD_BERSERKER_ARC				90
#define	M_ISENGARD_BERSERKER_BOUNTY_VALUE			83
;has an 80% dodge chance

#define M_BERSERKER_DAMAGED_SPEED_MULT 1.1
#define M_BERSERKER_DAMAGED_DAMAGE_MULT 1.1
#define M_BERSERKER_REALLY_DAMAGED_SPEED_MULT 1.5
#define M_BERSERKER_REALLY_DAMAGED_DAMAGE_MULT 1.5

;------------------------WILDMAN------------- 

#define M_ISENGARD_WILDMAN_BUILDCOST			150	;250	; originally 400
#define M_ISENGARD_WILDMAN_BUILDTIME			20
#define	M_ISENGARD_WILDMAN_VISION_RANGE 			175
#define	M_ISENGARD_WILDMAN_HORDE_VISION_RANGE 		175
#define	M_ISENGARD_WILDMAN_SHROUD_RANGE 			400
#define M_ISENGARD_WILDMAN_HEALTH				150
#define M_ISENGARD_WILDMAN_HEALTH_DAMAGED			75
#define M_ISENGARD_WILDMAN_HEALTH_RECOVERY_TIME		10000

#define M_ISENGARD_WILDMAN_PREATTACKDELAY 		567
#define M_ISENGARD_WILDMAN_DELAYBETWEENSHOTS 		633
#define M_ISENGARD_WILDMAN_FIRINGDURATION 		633

#define	M_ISENGARD_WILDMAN_BOUNTY_VALUE			3	; originally 8

#define M_ISENGARD_WILDMAN_DAMAGE				40
#define M_ISENGARD_WILDMAN_RADIUS				0

#define M_ISENGARD_WILDMAN_TORCH_DAMAGE			30
#define M_ISENGARD_WILDMAN_TORCH_RADIUS			0

#define M_ISENGARD_WILDMAN_ROCK_DAMAGE			40

#define M_ISENGARD_WILDMAN_THROWN_TORCH_DAMAGE		40
#define M_ISENGARD_WILDMAN_THROWN_TORCH_RADIUS		20

#define M_WILDMAN_PILLAGE_AMOUNT				1
#define M_WILDMAN_PILLAGE_NUM_DAMAGES			2
#define M_WILDMAN_PILLAGE_FILTER				NONE +STRUCTURE

#define M_ISENGARD_WILDMAN_SUMMON_DURATION		120000


;//------------------------WILDMANAXE------------------------

#define M_ISENGARD_WILDMANAXE_BUILDCOST			250
#define M_ISENGARD_WILDMANAXE_BUILDTIME			20
#define M_ISENGARD_WILDMANAXE_HEALTH			150
#define M_ISENGARD_WILDMANAXE_HEALTH_DAMAGED		75
#define M_ISENGARD_WILDMANAXE_HEALTH_RECOVERY_TIME	10000
#define	M_ISENGARD_WILDMANAXE_VISION_RANGE 		375	; originally 250
#define	M_ISENGARD_WILDMANAXE_HORDE_VISION_RANGE 		350	; originally 250
#define	M_ISENGARD_WILDMANAXE_SHROUD_RANGE 		350
#define	M_ISENGARD_WILDMANAXE_BOUNTY_VALUE        	5	; originally 8

#define M_ISENGARD_WILDMANAXE_RANGE			250
#define M_ISENGARD_WILDMANAXE_BOMBARD_MINRANGE		125
#define M_ISENGARD_WILDMANAXE_BOMBARD_MAXRANGE		250

#define M_ISENGARD_WILDMANAXE_DAMAGE			40
;#define ISENGARD_WILDMANAXE_DAMAGE_FORGEDBLADES	65

#define M_ISENGARD_WILDMANAXE_PREATTACKDELAY		800
#define M_ISENGARD_WILDMANAXE_FIRINGDURATION		2400
#define M_ISENGARD_WILDMANAXE_DELAYBETWEENSHOTS		2000
#define M_ISENGARD_WILDMANAXE_RELOADTIME_MIN		2000
#define M_ISENGARD_WILDMANAXE_RELOADTIME_MAX		3000

#define M_ISENGARD_WILDMANAXE_SUMMON_DURATION		120000

;------------------------BATTERINGRAM-------------

#define M_ISENGARD_BATTERINGRAM_BUILDCOST			400
#define M_ISENGARD_BATTERINGRAM_BUILDTIME			30
#define	M_ISENGARD_BATTERINGRAM_VISION_RANGE 		175
#define M_ISENGARD_BATTERINGRAM_HEALTH			2500		; originally 2000
#define M_ISENGARD_BATTERINGRAM_HEALTH_DAMAGED		1250		; originally 1000
#define M_ISENGARD_BATTERINGRAM_HEALTH_RECOVERY_TIME	10000
#define M_ISENGARD_BATTERINGRAM_PREATTACKDELAY 		1300
#define M_ISENGARD_BATTERINGRAM_DELAYBETWEENSHOTS 	3000
#define M_ISENGARD_BATTERINGRAM_FIRINGDURATION 		1100
#define M_ISENGARD_BATTERINGRAM_DAMAGE			1000
#define	M_ISENGARD_BATTERINGRAM_BOUNTY_VALUE		100

;------------------------BALLISTA-------------

#define M_ISENGARD_BALLISTA_BUILDCOST			300
#define M_ISENGARD_BALLISTA_BUILDTIME			40 ;30
#define	M_ISENGARD_BALLISTA_VISION_RANGE 			520
#define M_ISENGARD_BALLISTA_HEALTH			2000
#define M_ISENGARD_BALLISTA_HEALTH_DAMAGED		1000
#define M_ISENGARD_BALLISTA_HEALTH_RECOVERY_TIME		10000

#define	M_ISENGARD_BALLISTA_LVL1_EXP_AWARD 		10

#define M_ISENGARD_BALLISTA_PREATTACKDELAY 		1000
#define M_ISENGARD_BALLISTA_DELAYBETWEENSHOTS 		8000
#define M_ISENGARD_BALLISTA_FIRINGDURATION 		7000
#define M_ISENGARD_BALLISTA_DAMAGE			600
#define M_ISENGARD_BALLISTA_UPGRADED_DAMAGE		900
#define M_ISENGARD_BALLISTA_RANGE				500
#define M_ISENGARD_BALLISTA_MINRANGE			300
#define	M_ISENGARD_BALLISTA_BOUNTY_VALUE			125
#define M_ISENGARD_BALLISTA_EXPANSION_AIM_DELTA		90

;------------------------EXPLOSIVEMINE-------------

;Has an 80% dodge chance.  
#define M_ISENGARD_EXPLOSIVEMINE_BUILDCOST		500
#define M_ISENGARD_EXPLOSIVEMINE_BUILDTIME		45
#define	M_ISENGARD_EXPLOSIVEMINE_VISION_RANGE 		175
#define M_ISENGARD_EXPLOSIVEMINE_HEALTH			1500
#define M_ISENGARD_EXPLOSIVEMINE_HEALTH_DAMAGED		750
#define M_ISENGARD_EXPLOSIVEMINE_HEALTH_RECOVERY_TIME	10000
#define M_ISENGARD_EXPLOSIVEMINE_MAIN_DAMAGE		7000
#define	M_ISENGARD_EXPLOSIVEMINE_BOUNTY_VALUE		125

;------------------------SIEGELADDER-------------

;Has a 50% dodge chance. 
#define M_ISENGARD_SIEGELADDER_BUILDCOST			150
#define M_ISENGARD_SIEGELADDER_BUILDTIME			30 
#define	M_ISENGARD_SIEGELADDER_VISION_RANGE 		175
#define M_ISENGARD_SIEGELADDER_HEALTH			600
#define M_ISENGARD_SIEGELADDER_HEALTH_DAMAGED		300
#define M_ISENGARD_SIEGELADDER_HEALTH_RECOVERY_TIME	10000
#define	M_ISENGARD_SIEGELADDER_BOUNTY_VALUE		38

;------------------------BANNER-------------

#define M_ISENGARD_BANNER_BUILDCOST			1200 
#define M_ISENGARD_BANNER_BUILDTIME			30
#define M_ISENGARD_BANNER_HEALTH				200
#define M_ISENGARD_BANNER_HEALTH_DAMAGED			100
#define M_ISENGARD_BANNER_HEALTH_RECOVERY_TIME		10000
#define	M_ISENGARD_BANNER_VISION_RANGE 			175

#define	M_ISENGARD_BANNER_LVL1_EXP_AWARD 			3
#define	M_ISENGARD_BANNER_LVL2_EXP_AWARD 			4
#define	M_ISENGARD_BANNER_LVL3_EXP_AWARD 			5
#define	M_ISENGARD_BANNER_LVL4_EXP_AWARD 			6

#define	M_ISENGARD_BANNER_LVL2_EXP_NEEDED 		10000
#define	M_ISENGARD_BANNER_LVL3_EXP_NEEDED 		20000
#define	M_ISENGARD_BANNER_LVL4_EXP_NEEDED 		30000

#define	M_ISENGARD_BANNER_LVL2_HP_ADD	 		40 	; 100
#define	M_ISENGARD_BANNER_LVL3_HP_ADD	 		40 	; 100
#define	M_ISENGARD_BANNER_LVL4_HP_ADD	 		40 	; 100

#define	M_ISENGARD_BANNER_LVL2_DAM_ADD			20
#define	M_ISENGARD_BANNER_LVL3_DAM_ADD			20
#define	M_ISENGARD_BANNER_LVL4_DAM_ADD			20

#define	M_ISENGARD_BANNER_BOUNTY_VALUE			5

;used same weapon as Uruk Warrior.  


;=======================UPGRADES=======================
;======================================================

;---------------ISENGARD TECHNOLOGY AND UPGRADES-------

#define M_ISENGARD_TECH_BASIC_TRAINING_BUILDCOST			1000
#define M_ISENGARD_TECH_BASIC_TRAINING_BUILDTIME			30

#define M_ISENGARD_TECH_FIRE_ARROWS_BUILDCOST			1000
#define M_ISENGARD_TECH_FIRE_ARROWS_BUILDTIME			30

#define M_ISENGARD_TECH_FORGED_BLADES_BUILDCOST			1000
#define M_ISENGARD_TECH_FORGED_BLADES_BUILDTIME			30

#define M_ISENGARD_TECH_HEAVY_ARMOR_BUILDCOST			1000
#define M_ISENGARD_TECH_HEAVY_ARMOR_BUILDTIME			15

#define M_ISENGARD_TECH_TORCHES_BUILDCOST				1000
#define M_ISENGARD_TECH_TORCHES_BUILDTIME				15

;-----
#define M_ISENGARD_PERSONAL_BASIC_TRAINING_BUILDCOST		300
#define M_ISENGARD_PERSONAL_BASIC_TRAINING_BUILDTIME		10

#define M_ISENGARD_PERSONAL_FIRE_ARROWS_BUILDCOST			300
#define M_ISENGARD_PERSONAL_FIRE_ARROWS_BUILDTIME			10

#define M_ISENGARD_PERSONAL_FORGED_BLADES_BUILDCOST		300
#define M_ISENGARD_PERSONAL_FORGED_BLADES_BUILDTIME		10

#define M_ISENGARD_PERSONAL_HEAVY_ARMOR_BUILDCOST			300
#define M_ISENGARD_PERSONAL_HEAVY_ARMOR_BUILDTIME			10

#define M_ISENGARD_PERSONAL_TORCHES_BUILDCOST			300
#define M_ISENGARD_PERSONAL_TORCHES_BUILDTIME			10


;//======================= ISENGARD =====================
;//=======================STRUCTURES=====================

;//------------------------FORTRESS-------------

#define M_ISENGARD_FORTRESS_BUILDCOST				5000
#define M_ISENGARD_FORTRESS_BUILDTIME				120
#define M_ISENGARD_FORTRESS_VISION_RANGE				400
#define	M_ISENGARD_FORTRESS_SHROUD_CLEAR				800
#define M_ISENGARD_FORTRESS_HEALTH				7500
#define M_ISENGARD_FORTRESS_HEALTH_DAMAGED			3750
#define M_ISENGARD_FORTRESS_HEALTH_REALLY_DAMAGED			1875
#define	M_ISENGARD_FORTRESS_BOUNTY_VALUE				1250

#define M_ISENGARD_FORTRESS_WALL_EFFECTIVE_RADIUS			1500

#define M_ISENGARD_FORTRESS_FIRE_FUEL				140
#define M_ISENGARD_FORTRESS_FIRE_MAX_BURN_RATE			20
#define M_ISENGARD_FORTRESS_FIRE_DECAY				5
#define M_ISENGARD_FORTRESS_FIRE_RESISTANCE			10

;//----Fortress improvements----

;//Orcfire Munitions
#define M_ISENGARD_ORCFIREMUNITIONS_BUILDCOST			1500
#define	M_ISENGARD_ORCFIREMUNITIONS_BUILDTIME			30

;//Iron Plating
#define M_ISENGARD_IRONPLATING_BUILDCOST				2000
#define	M_ISENGARD_IRONPLATING_BUILDTIME				30
#define M_ISENGARD_IRONPLATING_KEEP_HEALTH_BONUS			0 	; Nerfing the Fortress Armor Upgrade -GB
#define M_ISENGARD_IRONPLATING_KEEP_ARMOR_BONUS			50%
#define M_ISENGARD_IRONPLATING_EXPANSION_HEALTH_BONUS		0 	; Nerfing the Fortress Armor Upgrade -GB
#define M_ISENGARD_IRONPLATING_EXPANSION_ARMOR_BONUS		50%

;//Burning Forges
#define M_ISENGARD_BURNINGFORGES_BUILDCOST			500
#define	M_ISENGARD_BURNINGFORGES_BUILDTIME			30

;//Excavations
#define M_ISENGARD_EXCAVATIONS_BUILDCOST				1000
#define	M_ISENGARD_EXCAVATIONS_BUILDTIME				30

;//Murder of Crows
#define M_ISENGARD_MURDEROFCROWS_BUILDCOST			500
#define	M_ISENGARD_MURDEROFCROWS_BUILDTIME			30
														   
;//Wizards Tower
#define M_ISENGARD_WIZARDSTOWER_BUILDCOST				2500
#define M_ISENGARD_WIZARDSTOWER_BUILDTIME				30

#define	M_ISENGARD_WIZARDSTOWER_LIGHTNING_DAMAGE			300
#define	M_ISENGARD_WIZARDSTOWER_LIGHTNING_DAMAGE_FLAME		100
#define	M_ISENGARD_WIZARDSTOWER_LIGHTNING_RANGE			2000
#define M_ISENGARD_WIZARDSTOWER_LIGHTNING_FIRE_RADIUS		30	// 120
#define M_ISENGARD_WIZARDSTOWER_LIGHTNING_SHOT_DMG_RADIUS		30
#define M_ISENGARD_WIZARDSTOWER_LIGHTNING_NUMSHOTS		16
#define M_ISENGARD_WIZARDSTOWER_LIGHTNING_FIRE_DMG		20
#define M_ISENGARD_WIZARDSTOWER_LIGHTNING_FIRE_START_RAD		10

;//----------------TOWER EXPANSION-----------------

#define M_ISENGARD_TOWEREXPANSION_BUILDCOST			600
#define M_ISENGARD_TOWEREXPANSION_BUILDTIME			30
#define M_ISENGARD_TOWEREXPANSION_HEALTH				1500
#define M_ISENGARD_TOWEREXPANSION_HEALTH_DAMAGED			1000
#define M_ISENGARD_TOWEREXPANSION_HEALTH_REALLY_DAMAGED		500
#define	M_ISENGARD_TOWEREXPANSION_BOUNTY_VALUE			150

#define M_ISENGARD_TOWEREXPANSION_FIRE_FUEL			100
#define M_ISENGARD_TOWEREXPANSION_FIRE_MAX_BURN_RATE		20
#define M_ISENGARD_TOWEREXPANSION_FIRE_DECAY			5
#define M_ISENGARD_TOWEREXPANSION_FIRE_RESISTANCE			10

;//----------BALLISTA EXPANSION-----------------

#define M_ISENGARD_BALLISTAEXPANSION_BUILDCOST			1200
#define M_ISENGARD_BALLISTAEXPANSION_BUILDTIME			30
#define M_ISENGARD_BALLISTAEXPANSION_HEALTH			1000
#define M_ISENGARD_BALLISTAEXPANSION_HEALTH_DAMAGED		500
#define M_ISENGARD_BALLISTAEXPANSION_HEALTH_REALLY_DAMAGED	250
#define	M_ISENGARD_BALLISTAEXPANSION_BOUNTY_VALUE			200

#define M_ISENGARD_BALLISTAEXPANSION_FIRE_FUEL			100
#define M_ISENGARD_BALLISTAEXPANSION_FIRE_MAX_BURN_RATE		20
#define M_ISENGARD_BALLISTAEXPANSION_FIRE_DECAY			5
#define M_ISENGARD_BALLISTAEXPANSION_FIRE_RESISTANCE		10

;//------MINELAUNCHER EXPANSION-----------------

#define M_ISENGARD_MINELAUNCHEREXPANSION_BUILDCOST		1500
#define M_ISENGARD_MINELAUNCHEREXPANSION_BUILDTIME		30
#define M_ISENGARD_MINELAUNCHEREXPANSION_HEALTH			1500
#define M_ISENGARD_MINELAUNCHEREXPANSION_HEALTH_DAMAGED		1000
#define M_ISENGARD_MINELAUNCHEREXPANSION_HEALTH_REALLY_DAMAGED	500
#define	M_ISENGARD_MINELAUNCHEREXPANSION_BOUNTY_VALUE		375

#define M_ISENGARD_MINELAUNCHEREXPANSION_FIRE_FUEL		100
#define M_ISENGARD_MINELAUNCHEREXPANSION_FIRE_MAX_BURN_RATE	20
#define M_ISENGARD_MINELAUNCHEREXPANSION_FIRE_DECAY		5
#define M_ISENGARD_MINELAUNCHEREXPANSION_FIRE_RESISTANCE		10

;//------------Mine Launcher weapon-------------
#define	M_ISENGARD_MINELAUNCHER_RANGE				150
#define M_ISENGARD_MINELAUNCHER_RADIUS				30.0
#define	M_ISENGARD_MINELAUNCHER_DAMAGE				300
#define	M_ISENGARD_MINELAUNCHER_FLAME_DAMAGE			200
#define M_ISENGARD_MINELAUNCHER_PREATTACKDELAY 			1000
#define M_ISENGARD_MINELAUNCHER_DELAYBETWEENSHOTS 		6000
#define M_ISENGARD_MINELAUNCHER_FIRINGDURATION 			3000

;//------------------------FURNACE-------------

#define M_ISENGARD_FURNACE_BUILDCOST				300
#define M_ISENGARD_FURNACE_BUILDTIME				15
#define M_ISENGARD_FURNACE_HEALTH					2000
#define M_ISENGARD_FURNACE_HEALTH_DAMAGED				1333
#define M_ISENGARD_FURNACE_HEALTH_REALLY_DAMAGED			667
#define	M_ISENGARD_FURNACE_SHROUD_CLEAR				300
#define	M_ISENGARD_FURNACE_VISION_RANGE				160
#define M_ISENGARD_FURNACE_MONEY_TIME 				6000 
#define M_ISENGARD_FURNACE_MONEY_AMOUNT				25
#define M_ISENGARD_FURNACE_MONEY_RANGE				300

#define	M_ISENGARD_FURNACE_LVL1_EXP_AWARD 			40
#define	M_ISENGARD_FURNACE_LVL2_EXP_AWARD 			50
#define	M_ISENGARD_FURNACE_LVL3_EXP_AWARD 			60

#define M_ISENGARD_FURNACE_LVL2_EXP_NEEDED			1500
#define M_ISENGARD_FURNACE_LVL3_EXP_NEEDED 			3000

#define M_ISENGARD_FURNACE_LVL2_HP_ADD          			500
#define M_ISENGARD_FURNACE_LVL3_HP_ADD          			1000

#define M_ISENGARD_FURNACE_LVL2_PRODUCTION 			1.25
#define M_ISENGARD_FURNACE_LVL3_PRODUCTION 			1.5
#define	M_ISENGARD_FURNACE_BOUNTY_VALUE				75

;----------------------LUMBERMILL-----------------

#define M_ISENGARD_LUMBERMILL_BUILDCOST				370	; originally 450
#define M_ISENGARD_LUMBERMILL_BUILDTIME				30
#define M_ISENGARD_LUMBERMILL_HEALTH				1500
#define M_ISENGARD_LUMBERMILL_HEALTH_DAMAGED			1000
#define M_ISENGARD_LUMBERMILL_HEALTH_REALLY_DAMAGED		500
#define	M_ISENGARD_LUMBERMILL_SHROUD_CLEAR			160

#define	M_ISENGARD_LUMBERMILL_LVL1_EXP_AWARD 			50
#define	M_ISENGARD_LUMBERMILL_LVL2_EXP_AWARD 			60
#define	M_ISENGARD_LUMBERMILL_LVL3_EXP_AWARD 			70
  
#define M_ISENGARD_LUMBERMILL_LVL2_EXP_NEEDED			1000	; originally 2000
#define M_ISENGARD_LUMBERMILL_LVL3_EXP_NEEDED 			3000	; originally 5000

#define M_ISENGARD_LUMBERMILL_LVL2_HP_ADD           		500
#define M_ISENGARD_LUMBERMILL_LVL3_HP_ADD           		1000

#define M_ISENGARD_LUMBERMILL_LVL2_PRODUCTION			1.25
#define M_ISENGARD_LUMBERMILL_LVL3_PRODUCTION 			1.25
#define	M_ISENGARD_LUMBERMILL_BOUNTY_VALUE			50

;------------------------URUKPIT----------------

#define M_ISENGARD_URUKPIT_BUILDCOST				350
#define M_ISENGARD_URUKPIT_BUILDTIME				25	; originally 15
#define M_ISENGARD_URUKPIT_VISIONRANGE				160
#define M_ISENGARD_URUKPIT_SHROUDCLEAR				161
#define M_ISENGARD_URUKPIT_MAXHEALTH				3000
#define M_ISENGARD_URUKPIT_MAXHEALTHDAMAGED			2000
#define M_ISENGARD_URUKPIT_MAXHEALTH_REALLYDAMAGED		1000
		
#define M_ISENGARD_URUKPIT_LEVEL2_UPGRADE_COST			500
#define M_ISENGARD_URUKPIT_LEVEL2_UPGRADE_BUILDTIME 		30
#define M_ISENGARD_URUKPIT_LEVEL3_UPGRADE_COST			1000
#define M_ISENGARD_URUKPIT_LEVEL3_UPGRADE_BUILDTIME		45 	; originally 60

#define	M_ISENGARD_URUKPIT_LVL1_EXP_AWARD		 		50
#define	M_ISENGARD_URUKPIT_LVL2_EXP_AWARD 			60
#define	M_ISENGARD_URUKPIT_LVL3_EXP_AWARD 			70

#define M_ISENGARD_URUKPIT_LVL2_HP_ADD          			1500
#define M_ISENGARD_URUKPIT_LVL3_HP_ADD          			1500

#define M_ISENGARD_URUKPIT_LVL2_BUILD_SPEED 			1.10  
#define M_ISENGARD_URUKPIT_LVL3_BUILD_SPEED 			1.25    

#define	M_ISENGARD_URUKPIT_BOUNTY_VALUE				88

;------------------------URUKSIEGEWORKS-------------

#define M_ISENGARD_URUKSIEGE_BUILDCOST				600
#define M_ISENGARD_URUKSIEGE_BUILDTIME				30
#define M_ISENGARD_URUKSIEGE_VISIONRANGE				160
#define M_ISENGARD_URUKSIEGE_SHROUDCLEAR				161
#define M_ISENGARD_URUKSIEGE_MAXHEALTH				3000
#define M_ISENGARD_URUKSIEGE_MAXHEALTHDAMAGED			2000
#define M_ISENGARD_URUKSIEGE_MAXHEALTH_REALLYDAMAGED		1000

#define M_ISENGARD_URUKSIEGE_LEVEL2_UPGRADE_COST			500
#define M_ISENGARD_URUKSIEGE_LEVEL2_UPGRADE_BUILDTIME 		30
#define M_ISENGARD_URUKSIEGE_LEVEL3_UPGRADE_COST			1000
#define M_ISENGARD_URUKSIEGE_LEVEL3_UPGRADE_BUILDTIME		45 	; originally 60

#define	M_ISENGARD_URUKSIEGE_LVL1_EXP_AWARD			50
#define	M_ISENGARD_URUKSIEGE_LVL2_EXP_AWARD 			60
#define	M_ISENGARD_URUKSIEGE_LVL3_EXP_AWARD 			70

#define M_ISENGARD_URUKSIEGE_LVL2_HP_ADD          		1500
#define M_ISENGARD_URUKSIEGE_LVL3_HP_ADD          		1500

#define M_ISENGARD_URUKSIEGE_LVL2_BUILD_SPEED 			1.10   
#define M_ISENGARD_URUKSIEGE_LVL3_BUILD_SPEED 			1.25    

#define	M_ISENGARD_URUKSIEGE_BOUNTY_VALUE				200

;------------------------WARGPIT-------------
	
#define M_ISENGARD_WARGPIT_BUILDCOST				500
#define M_ISENGARD_WARGPIT_BUILDTIME				30
#define M_ISENGARD_WARGPIT_VISIONRANGE				160
#define M_ISENGARD_WARGPIT_SHROUDCLEAR				161
#define M_ISENGARD_WARGPIT_MAXHEALTH				3000
#define M_ISENGARD_WARGPIT_MAXHEALTHDAMAGED			2000
#define M_ISENGARD_WARGPIT_MAXHEALTH_REALLYDAMAGED		1000

#define M_ISENGARD_WARGPIT_LEVEL2_UPGRADE_COST			200
#define M_ISENGARD_WARGPIT_LEVEL2_UPGRADE_BUILDTIME 		30
#define M_ISENGARD_WARGPIT_LEVEL3_UPGRADE_COST			300
#define M_ISENGARD_WARGPIT_LEVEL3_UPGRADE_BUILDTIME		45 	; originally 60

#define	M_ISENGARD_WARGPIT_LVL1_EXP_AWARD		 		50
#define	M_ISENGARD_WARGPIT_LVL2_EXP_AWARD 			60
#define	M_ISENGARD_WARGPIT_LVL3_EXP_AWARD 			70

#define M_ISENGARD_WARGPIT_LVL2_HP_ADD          			1500
#define M_ISENGARD_WARGPIT_LVL3_HP_ADD    	      		1500

#define M_ISENGARD_WARGPIT_LVL2_BUILD_SPEED 			1.10   
#define M_ISENGARD_WARGPIT_LVL3_BUILD_SPEED 			1.25    

#define	M_ISENGARD_WARGPIT_BOUNTY_VALUE				125


;------------------------ISENGARD_TAVERN-----------------------		; Added for BFME2 Expansion

#define M_ISENGARD_TAVERN_LVL2_UPGRADE_COST			400
#define M_ISENGARD_TAVERN_LVL2_UPGRADE_TIME			30
#define M_ISENGARD_TAVERN_LVL2_UNIT_PRODUCTION_SPEED		1.10
#define M_ISENGARD_TAVERN_LVL3_UPGRADE_COST			1000
#define M_ISENGARD_TAVERN_LVL3_UPGRADE_TIME			60
#define M_ISENGARD_TAVERN_LVL3_UNIT_PRODUCTION_SPEED		1.25
#define M_ISENGARD_TAVERN_HEALTH					3000
#define M_ISENGARD_TAVERN_HEALTH_DAMAGED				2000
#define M_ISENGARD_TAVERN_HEALTH_REALLYDAMAGED			1000
#define M_ISENGARD_TAVERN_BUILDCOST				600	; originally 500
#define M_ISENGARD_TAVERN_BUILDTIME				45
#define M_ISENGARD_TAVERN_BOUNTY_VALUE				125

#define M_ISENGARD_TAVERN_LVL1_EXP_AWARD				50
#define M_ISENGARD_TAVERN_LVL2_EXP_AWARD				60
#define M_ISENGARD_TAVERN_LVL3_EXP_AWARD				70

#define M_ISENGARD_TAVERN_LVL2_HP_ADD				1500
#define M_ISENGARD_TAVERN_LVL3_HP_ADD				1500

;------------------------ISENGARD_ARMORY-------------

#define M_ISENGARD_ARMORY_BUILDCOST				1000
#define M_ISENGARD_ARMORY_BUILDTIME				60
#define M_ISENGARD_ARMORY_VISIONRANGE				160
#define M_ISENGARD_ARMORY_SHROUDCLEAR				161
#define M_ISENGARD_ARMORY_MAXHEALTH				4500
#define M_ISENGARD_ARMORY_MAXHEALTHDAMAGED			3000
#define M_ISENGARD_ARMORY_MAXHEALTH_REALLYDAMAGED			1500

#define M_ISENGARD_ARMORY_LEVEL2_UPGRADE_COST			750	; originally 500
#define M_ISENGARD_ARMORY_LEVEL2_UPGRADE_BUILDTIME		30

#define M_ISENGARD_ARMORY_LEVEL3_UPGRADE_COST			750	; originally 1000
#define M_ISENGARD_ARMORY_LEVEL3_UPGRADE_BUILDTIME		60

#define	M_ISENGARD_ARMORY_LVL1_EXP_AWARD		 		50
#define	M_ISENGARD_ARMORY_LVL2_EXP_AWARD 				60
#define	M_ISENGARD_ARMORY_LVL3_EXP_AWARD 				70

#define M_ISENGARD_ARMORY_LVL2_EXP_NEEDED				6000 	; 2400
#define M_ISENGARD_ARMORY_LVL3_EXP_NEEDED 			10000 	; 4800

#define M_ISENGARD_ARMORY_LVL2_HP_ADD          			1500
#define M_ISENGARD_ARMORY_LVL3_HP_ADD    	      			1500

#define M_ISENGARD_ARMORY_LVL2_BUILD_SPEED 			1.10   
#define M_ISENGARD_ARMORY_LVL3_BUILD_SPEED 			1.25    

#define	M_ISENGARD_ARMORY_BOUNTY_VALUE				200

//------------------------ISENGARD WARG SENTRY-------------

#define M_ISENGARD_WARG_SENTRY_BUILDCOST				400
#define M_ISENGARD_WARG_SENTRY_BUILDTIME				15
#define M_ISENGARD_WARG_SENTRY_VISIONRANGE			175
#define M_ISENGARD_WARG_SENTRY_SHROUDCLEAR			200
#define M_ISENGARD_WARG_SENTRY_MAXHEALTH				1500
#define M_ISENGARD_WARG_SENTRY_MAXHEALTHDAMAGED			1000
#define M_ISENGARD_WARG_SENTRY_MAXHEALTH_REALLYDAMAGED		500
#define M_ISENGARD_WARG_SENTRY_BOUNTY_VALUE			100
#define M_ISENGARD_WARG_SENTRY_FIRE_FUEL				140
#define M_ISENGARD_WARG_SENTRY_FIRE_MAX_BURN_RATE			20
#define M_ISENGARD_WARG_SENTRY_FIRE_DECAY				5
#define M_ISENGARD_WARG_SENTRY_FIRE_RESISTANCE			10

//Warg Sentry Warg Info
#define M_ISENGARD_WARG_SENTRY_WARG_HEALTH			1200
#define M_ISENGARD_WARG_SENTRY_WARG_HEALTH_DAMAGED		600

#define	M_ISENGARD_WARG_SENTRY_LVL1_EXP_AWARD		 	30
#define	M_ISENGARD_WARG_SENTRY_LVL2_EXP_AWARD 			40
#define	M_ISENGARD_WARG_SENTRY_LVL3_EXP_AWARD 			50

#define M_ISENGARD_WARG_SENTRY_WARG_VISIONRANGE			200
#define M_ISENGARD_WARG_SENTRY_WARG_SHROUDCLEAR			200

#define M_ISENGARD_WARG_SENTRY_WARG_PREATTACKDELAY 		800 
#define M_ISENGARD_WARG_SENTRY_WARG_DELAYBETWEENSHOTS 		1000
#define M_ISENGARD_WARG_SENTRY_WARG_FIRINGDURATION 		400  
#define M_ISENGARD_WARG_SENTRY_WARG_DAMAGE			500

#define	M_ISENGARD_WARG_SENTRY_WARG_BOUNTY_VALUE			100

;------------------------IsengardCastleWallHub-------------

#define M_ISENGARD_CASTLE_WALLHUB_BUILDCOST			150
#define M_ISENGARD_CASTLE_WALLHUB_BUILDTIME			20
#define M_ISENGARD_CASTLE_WALLHUB_VISION_RANGE			160
#define M_ISENGARD_CASTLE_WALLHUB_SHROUD_CLEAR			160
#define M_ISENGARD_CASTLE_WALLHUB_HEALTH				1500
#define M_ISENGARD_CASTLE_WALLHUB_HEALTH_DAMAGED			1000
#define M_ISENGARD_CASTLE_WALLHUB_HEALTH_REALLY_DAMAGED		500
#define M_ISENGARD_CASTLE_WALL_HUB_EXP_AWARD			10

;-------------------IsengardCastleWallSegment-------------

#define M_ISENGARD_CASTLE_WALLSEGMENT_BUILDCOST			40
#define M_ISENGARD_CASTLE_WALLSEGMENT_BUILDTIME			20
#define M_ISENGARD_CASTLE_WALLSEGMENT_VISION_RANGE		160
#define M_ISENGARD_CASTLE_WALLSEGMENT_SHROUD_CLEAR		160
#define M_ISENGARD_CASTLE_WALLSEGMENT_HEALTH			1500
#define M_ISENGARD_CASTLE_WALLSEGMENT_HEALTH_DAMAGED		1000
#define M_ISENGARD_CASTLE_WALLSEGMENT_HEALTH_REALLY_DAMAGED	500

;------------------IsengardCastleWallGate-------------

#define M_ISENGARD_CASTLE_WALLGATE_BUILDCOST			500
#define M_ISENGARD_CASTLE_WALLGATE_BUILDTIME			20
#define M_ISENGARD_CASTLE_WALLGATE_VISION_RANGE			160
#define M_ISENGARD_CASTLE_WALLGATE_SHROUD_CLEAR			160
#define M_ISENGARD_CASTLE_WALLGATE_HEALTH				1500
#define M_ISENGARD_CASTLE_WALLGATE_HEALTH_DAMAGED			1000
#define M_ISENGARD_CASTLE_WALLGATE_HEALTH_REALLY_DAMAGED		500
#define M_ISENGARD_CASTLE_WALL_GATE_EXP_AWARD			10


;KEEP NOT HOOKED UP YET
;------------------------ISENKEEP-------------

#define M_ISENGARD_ISENKEEP_BUILDCOST				800
#define M_ISENGARD_ISENKEEP_BUILDTIME				30
#define M_ISENGARD_ISENKEEP_VISIONRANGE				160
#define M_ISENGARD_ISENKEEP_SHROUDCLEAR				161
#define M_ISENGARD_ISENKEEP_MAXHEALTH				2000
#define M_ISENGARD_ISENKEEP_MAXHEALTHDAMAGED			1500
#define M_ISENGARD_ISENKEEP_MAXHEALTH_REALLYDAMAGED		500
#define	M_ISENGARD_ISENKEEP_BOUNTY_VALUE				200

;------------------------FLAGS------------------------
#define M_ISENGARD_FLAG_ECONOMY_UNPACK_COST			200
#define M_ISENGARD_FLAG_OUTPOST_UNPACK_COST			800 	; 400
#define M_ISENGARD_FLAG_CAMP_UNPACK_COST				2000 	; 800
#define M_ISENGARD_FLAG_CASTLE_UNPACK_COST			5000



;========================MORDOR========================
;========================UNITS=========================

;------------------------PORTER-------------

#define M_MORDOR_PORTER_BUILDCOST				500
#define M_MORDOR_PORTER_BUILDTIME				30
#define M_MORDOR_PORTER_HEALTH				500
#define M_MORDOR_PORTER_HEALTH_DAMAGED			250
#define M_MORDOR_PORTER_HEALTH_RECOVERY_TIME		10000
#define	M_MORDOR_PORTER_VISION_RANGE 			300
#define	M_MORDOR_PORTER_SHROUD_RANGE 			100

#define	M_MORDOR_PORTER_BOUNTY_VALUE      		125
;------------------------LABORER-------------

#define M_MORDOR_LABORER_BUILDCOST			20
#define M_MORDOR_LABORER_BUILDTIME			5
#define M_MORDOR_LABORER_HEALTH				60
#define M_MORDOR_LABORER_HEALTH_DAMAGED			30
#define M_MORDOR_LABORER_HEALTH_RECOVERY_TIME		10000
#define	M_MORDOR_LABORER_VISION_RANGE 			100

#define	M_MORDOR_LABORER_LVL1_EXP_AWARD 			1

#define	M_MORDOR_LABORER_DAMAGE				5
#define	M_MORDOR_LABORER_FIRE_UPGRADE_DAMAGE 		400
#define M_MORDOR_LABORER_PREATTACKDELAY 			533
#define M_MORDOR_LABORER_DELAYBETWEENSHOTS 		733
#define M_MORDOR_LABORER_FIRINGDURATION 			733
#define	M_MORDOR_LABORER_BOUNTY_VALUE			5

;------------------------FIGHTER-------------

#define M_MORDOR_FIGHTER_BUILDCOST                  	100	; originally 100 
#define M_MORDOR_FIGHTER_BUILDTIME                  	25
#define M_MORDOR_FIGHTER_HEALTH                     	75	; originally 125
#define M_MORDOR_FIGHTER_HEALTH_DAMAGED             	50
#define M_MORDOR_FIGHTER_HEALTH_RECOVERY_TIME    		10000
#define M_MORDOR_FIGHTER_VISION_RANGE              	175
#define M_MORDOR_FIGHTER_HORDE_VISION_RANGE        	175
#define M_MORDOR_FIGHTER_HORDE_SHROUDCLEAR_RANGE        	400

#define M_MORDOR_FIGHTER_DAMAGE                     	20	; our initial faction level 30
#define M_MORDOR_FIGHTER_DAMAGE_UPGRADE			60
#define M_MORDOR_FIGHTER_PREATTACKDELAY            	633
#define M_MORDOR_FIGHTER_DELAYBETWEENSHOTS        	1000 
#define M_MORDOR_FIGHTER_FIRINGDURATION           	1000
#define M_MORDOR_FIGHTER_BOUNTY_VALUE                	1

;-----------------BLACK ORC-------------------		(Faction Enhancement - BFME2 Expansion)

#define M_MORDOR_BLACKORC_BUILDCOST                  	400	
#define M_MORDOR_BLACKORC_BUILDTIME                  	25
#define M_MORDOR_BLACKORC_HEALTH                     	300	
#define M_MORDOR_BLACKORC_HEALTH_DAMAGED             	150
#define M_MORDOR_BLACKORC_HEALTH_RECOVERY_TIME    	10000
#define M_MORDOR_BLACKORC_VISION_RANGE              	175
#define M_MORDOR_BLACKORC_HORDE_VISION_RANGE        	175
#define M_MORDOR_BLACKORC_HORDE_SHROUDCLEAR_RANGE        	400

#define M_MORDOR_BLACKORC_DAMAGE                		65	; originally 60
#define M_MORDOR_BLACKORC_DAMAGE_UPGRADE			80
#define M_MORDOR_BLACKORC_PREATTACKDELAY            	633
#define M_MORDOR_BLACKORC_DELAYBETWEENSHOTS        	1000 
#define M_MORDOR_BLACKORC_FIRINGDURATION           	1000
#define M_MORDOR_BLACKORC_BOUNTY_VALUE                	8

;------------------------GOBLIN-------------

#define M_MORDOR_GOBLIN_SWORDSMAN_DAMAGE                	10
#define M_MORDOR_GOBLIN_SWORDSMAN_HEALTH                	30
#define M_MORDOR_GOBLIN_SWORDSMAN_PREATTACKDELAY       	522
#define M_MORDOR_GOBLIN_SWORDSMAN_DELAYBETWEENSHOTS    	245 
#define M_MORDOR_GOBLIN_SWORDSMAN_FIRINGDURATION       	245

;------------------------ MORDOR ARCHER-------------

#define M_MORDOR_ARCHER_BUILDCOST				250 	; 200 originally 300
#define M_MORDOR_ARCHER_BUILDTIME				30 
#define M_MORDOR_ARCHER_HEALTH				125	; originally 100
#define M_MORDOR_ARCHER_HEALTH_DAMAGED			25
#define M_MORDOR_ARCHER_HEALTH_RECOVERY_TIME		10000
#define	M_MORDOR_ARCHER_VISION_RANGE 			375	; originally 280
#define	M_MORDOR_ARCHER_HORDE_VISION_RANGE 		350	; originally 280
#define	M_MORDOR_ARCHER_SHROUD_RANGE 			300

#define M_MORDOR_ARCHER_PREATTACKDELAY 			1000
#define M_MORDOR_ARCHER_BOW_RELOADTIME_MIN		1500
#define M_MORDOR_ARCHER_BOW_RELOADTIME_MAX		2000

;orc archers miss 50% so they get double damage
#define	M_MORDOR_ARCHER_DAMAGE				25	;20
#define	M_MORDOR_ARCHER_DAMAGE_MELEE			4

#define	M_MORDOR_ARCHER_RANGE				275
#define	M_MORDOR_ARCHER_BOMBARD_MINRANGE			150
#define	M_MORDOR_ARCHER_BOMBARD_MAXRANGE			275

#define	M_MORDOR_ARCHER_BOUNTY_VALUE			2

#define	M_MORDOR_ARCHER_DAMAGE_FIRE_PIERCE		25 	; 8
#define	M_MORDOR_ARCHER_DAMAGE_FIRE_FLAME			25 	; 12

#define	M_MORDOR_ARCHER_BARRICADE_DAMAGE			100
#define	M_MORDOR_ARCHER_BARRICADE_DAMAGE_FIRE_PIERCE	100 	; 8
#define	M_MORDOR_ARCHER_BARRICADE_DAMAGE_FIRE_FLAME	100 	; 12

;------------------------ CORSAIR -------------

#define M_MORDOR_CORSAIR_BUILDTIME			30
#define M_MORDOR_CORSAIR_BUILDCOST			400

#define M_MORDOR_CORSAIR_INN_BUILDTIME			25	; balance
#define M_MORDOR_CORSAIR_INN_BUILDCOST			300	; balance

#define M_MORDOR_CORSAIR_HORDE_SHROUDCLEAR_RANGE		300
#define M_MORDOR_CORSAIR_HORDE_VISION_RANGE		175

#define M_MORDOR_CORSAIR_FIRE_BOMB_RANGE			200
#define M_MORDOR_CORSAIR_FIRE_BOMB_MIN_RANGE		50
#define M_MORDOR_CORSAIR_HORDE_FIRE_BOMB_RANGE		100	; Should be smaller than the member range.
#define M_MORDOR_CORSAIR_HORDE_FIRE_BOMB_MIN_RANGE	75
#define M_MORDOR_CORSAIR_FIRE_BOMB_PREATTACKDELAY		1333
#define M_MORDOR_CORSAIR_FIRE_BOMB_RANDOM_PREATTACK	200
#define M_MORDOR_CORSAIR_FIRE_BOMB_FIRING_DURATION	2100
#define M_MORDOR_CORSAIR_FIRE_BOMB_DAMAGE			25
#define M_MORDOR_CORSAIR_FIRE_BOMB_RADIUS			15
#define M_MORDOR_CORSAIR_FIRE_BOMB_SCATTER_RADIUS		20.0
#define M_MORDOR_CORSAIR_FIRE_BOMB_HIT_PERCENTAGE		20

#define M_MORDOR_CORSAIR_BOUNTY_VALUE			7

;------------------------TROLL-------------

#define M_MORDOR_TROLL_BUILDCOST				500
#define M_MORDOR_TROLL_BUILDTIME				45 	;30
#define M_MORDOR_TROLL_HEALTH				1500 	; 2400
#define M_MORDOR_TROLL_HEALTH_DAMAGED			750
#define M_MORDOR_TROLL_HEALTH_RAMPAGE_DAMAGED		10
#define	M_MORDOR_TROLL_VISION_RANGE 			175

#define M_TROLL_SPEED					55

;Note - Tree does less damage but has a wide area of effect.  Tree for troops, Punch for Calv/heroes.
#define M_MORDOR_TROLL_PUNCH_PREATTACKDELAY 		500 	; 533
#define M_MORDOR_TROLL_PUNCH_DELAYBETWEENSHOTS 		1000 	; 1466
#define M_MORDOR_TROLL_PUNCH_FIRINGDURATION 		1000 	; 934
#define	M_MORDOR_TROLL_PUNCH_DAMAGE			200

#define M_MORDOR_TROLL_SHOULDER_PREATTACKDELAY 		600
#define M_MORDOR_TROLL_SHOULDER_DELAYBETWEENSHOTS 	1400
#define M_MORDOR_TROLL_SHOULDER_FIRINGDURATION 		900
#define	M_MORDOR_TROLL_SHOULDER_DAMAGE			200

#define M_MORDOR_TROLL_TREE_PREATTACKDELAY 		600
#define M_MORDOR_TROLL_TREE_DELAYBETWEENSHOTS 		1400 	; 2000
#define M_MORDOR_TROLL_TREE_FIRINGDURATION 		1400
#define	M_MORDOR_TROLL_TREE_DAMAGE			120

#define M_MORDOR_TROLL_ROCK_PREATTACKDELAY 		600 	; 700
#define M_MORDOR_TROLL_ROCK_DELAYBETWEENSHOTS 		2067 	; 2167
#define M_MORDOR_TROLL_ROCK_FIRINGDURATION 		1567 	; 2167
#define	M_MORDOR_TROLL_ROCK_DAMAGE			300 	; 500
#define	M_MORDOR_TROLL_ROCK_RANGE				250

#define	M_MORDOR_CAVE_TROLL_ROCK_DAMAGE			200

#define	M_MORDOR_TROLL_BOUNTY_VALUE			125

;------------------------ ATTACK TROLL-------------

#define M_MORDOR_ATTACKTROLL_BUILDCOST			900	; originally 1000
#define M_MORDOR_ATTACKTROLL_BUILDTIME			45 	; 30
#define M_MORDOR_ATTACKTROLL_HEALTH			3000 	; 2400
#define M_MORDOR_ATTACKTROLL_HEALTH_DAMAGED		2000
#define M_MORDOR_ATTACKTROLL_HEALTH_RAMPAGE_DAMAGED	100
#define	M_MORDOR_ATTACKTROLL_VISION_RANGE 		175
#define M_MORDOR_ATTACKTROLL_SHROUD_RANGE			400

;Note - Tree does less damage but has a wide area of effect.  Tree for troops, Punch for Calv/heroes.
#define M_MORDOR_ATTACKTROLL_PUNCH_PREATTACKDELAY 	500 	; 533
#define M_MORDOR_ATTACKTROLL_PUNCH_DELAYBETWEENSHOTS 	1000  	; 1466
#define M_MORDOR_ATTACKTROLL_PUNCH_FIRINGDURATION 	1000 	; 934
#define	M_MORDOR_ATTACKTROLL_PUNCH_DAMAGE			200

#define M_MORDOR_ATTACKTROLL_SHOULDER_PREATTACKDELAY 	600
#define M_MORDOR_ATTACKTROLL_SHOULDER_DELAYBETWEENSHOTS 	1400
#define M_MORDOR_ATTACKTROLL_SHOULDER_FIRINGDURATION 	900
#define	M_MORDOR_ATTACKTROLL_SHOULDER_DAMAGE		200

#define M_MORDOR_ATTACKTROLL_TREE_PREATTACKDELAY 		600
#define M_MORDOR_ATTACKTROLL_TREE_DELAYBETWEENSHOTS 	1400 	; 2000
#define M_MORDOR_ATTACKTROLL_TREE_FIRINGDURATION 		1400
#define	M_MORDOR_ATTACKTROLL_TREE_DAMAGE			400

#define M_MORDOR_ATTACKTROLL_ROCK_PREATTACKDELAY 		600 	; 700
#define M_MORDOR_ATTACKTROLL_ROCK_DELAYBETWEENSHOTS 	2067 	; 2167
#define M_MORDOR_ATTACKTROLL_ROCK_FIRINGDURATION 		1567 	; 2167
#define	M_MORDOR_ATTACKTROLL_ROCK_DAMAGE			300 	; 500
#define	M_MORDOR_ATTACKTROLL_ROCK_RANGE			250

#define	M_MORDOR_ATTACKTROLL_BOUNTY_VALUE			250

;------------------------DRUMMERTROLL-------------

#define M_MORDOR_DRUMMERTROLL_BUILDCOST			500	; originally 750
#define M_MORDOR_DRUMMERTROLL_BUILDTIME			45 ;30
#define M_MORDOR_DRUMMERTROLL_HEALTH			2000 	; 2400
#define M_MORDOR_DRUMMERTROLL_HEALTH_DAMAGED		500
#define	M_MORDOR_DRUMMERTROLL_VISION_RANGE 		75	; originally 175

#define M_MORDOR_DRUMMERTROLL_PREATTACKDELAY 		800
#define M_MORDOR_DRUMMERTROLL_DELAYBETWEENSHOTS 		2200
#define M_MORDOR_DRUMMERTROLL_FIRINGDURATION 		1200
#define	M_MORDOR_DRUMMERTROLL_DAMAGE			120
#define	M_MORDOR_DRUMMERTROLL_BOUNTY_VALUE		185

;------------------------HARADRIM-------------

#define M_MORDOR_HARADRIM_BUILDCOST			425  	; 250 originally 500
#define M_MORDOR_HARADRIM_BUILDTIME			45 	; 20
#define M_MORDOR_HARADRIM_HEALTH				250	;400
#define M_MORDOR_HARADRIM_HEALTH_DAMAGED			50
#define M_MORDOR_HARADRIM_HEALTH_RECOVERY_TIME 		10000

#define M_MORDOR_HARADRIM_ARCHER_BOUNTY_VALUE		9

#define M_MORDOR_HARADRIM_LANCER_SWITCH_RANGE_HORDE	50
#define M_MORDOR_HARADRIM_LANCER_SWITCH_RANGE		25
#define	M_MORDOR_HARADRIM_LANCER_RANGE			250
#define M_MORDOR_HARADRIM_LANCER_HORDE_RANGE		250

#define	M_MORDOR_HARADRIM_VISION_RANGE 			390
#define	M_MORDOR_HARADRIM_SHROUD_RANGE 			450
#define	M_MORDOR_HARADRIM_HORDE_VISION_RANGE 		400
#define M_HARADRIM_ARCHER_HORDE_RANGE			350
#define M_HARADRIM_ARCHER_HORDE_BOMBARD_MINRANGE		200
#define M_HARADRIM_ARCHER_HORDE_BOMBARD_MAXRANGE		350

#define M_MORDOR_HARADRIM_LANCER_PREATTACKDELAY 		1600
#define M_MORDOR_HARADRIM_LANCER_DELAYBETWEENSHOTS 	0;1000
#define M_MORDOR_HARADRIM_LANCER_FIRINGDURATION 		900
#define	M_MORDOR_HARADRIM_LANCER_DAMAGE			60
#define	M_MORDOR_HARADRIM_LANCER_MELEE_DAMAGE		60
#define M_MORDOR_HARADRIM_BOW_BARBEDARROWS_PREATTACKDELAY 800
#define M_MORDOR_HARADRIM_BOW_PREATTACKDELAY 		2100
#define M_MORDOR_HARADRIM_BOW_DELAYBETWEENSHOTS 		900
#define M_MORDOR_HARADRIM_BOW_FIRINGDURATION 		700

#define	M_MORDOR_HARADRIM_BOW_RANGE			350
#define	M_MORDOR_HARADRIM_BOW_BOMBARD_MINRANGE		150
#define	M_MORDOR_HARADRIM_BOW_BOMBARD_MAXRANGE		350

#define	M_MORDOR_HARADRIM_BOW_DAMAGE			75	;64
#define M_MORDOR_HARADRIM_FIRE_UPGRADE_DAMAGE		75	;64 
#define M_MORDOR_HARADRIM_FIRE_UPGRADE_FLAME		75	;64
#define	M_MORDOR_HARADRIM_BOUNTY_VALUE			8
#define M_MORDOR_HARADRIM_BARBED_ARROW_DAMAGE		120	;20

;-----------------HARADRIM RIDERS----------------	(Faction Enhancement - BFME2 Expansion)

#define M_MORDOR_HARADRIMRIDERS_BUILDCOST                 500	;500
#define M_MORDOR_HARADRIMRIDERS_BUILDTIME                 25 
#define M_MORDOR_HARADRIMRIDERS_HEALTH                    300 	
#define M_MORDOR_HARADRIMRIDERS_HEALTH_DAMAGED           	150 	
#define M_MORDOR_HARADRIMRIDERS_HEALTH_RECOVERY_TIME    	10000
#define M_MORDOR_HARADRIMRIDERS_VISION_RANGE              175 	; Probably Irrelevant, check generic shroud / vision clearing numbers -GB
#define M_MORDOR_HARADRIMRIDERS_HORDE_VISION_RANGE        175
#define M_MORDOR_HARADRIMRIDERS_HORDE_SHROUD_RANGE        300

#define M_MORDOR_HARADRIMRIDERS_DAMAGE                    60	
#define M_MORDOR_HARADRIMRIDERS_FORGEDBLADES_UPGRADE      100 
#define M_MORDOR_HARADRIMRIDERS_PREATTACKDELAY            500  
#define M_MORDOR_HARADRIMRIDERS_DELAYBETWEENSHOTS        	1000 
#define M_MORDOR_HARADRIMRIDERS_FIRINGDURATION           	1000 
#define M_MORDOR_HARADRIMRIDERS_BOUNTY_VALUE              12

;------------------------SOLDIERRHUN-------------

#define M_MORDOR_SOLDIERRHUN_BUILDCOST			350	; originally 300
#define M_MORDOR_SOLDIERRHUN_BUILDTIME			25 
#define M_MORDOR_SOLDIERRHUN_HEALTH			250	; 320
#define M_MORDOR_SOLDIERRHUN_HEALTH_DAMAGED		160
#define M_MORDOR_SOLDIERRHUN_HEALTH_RECOVERY_TIME		10000
#define	M_MORDOR_SOLDIERRHUN_VISION_RANGE 		175
#define	M_MORDOR_SOLDIERRHUN_HORDE_VISION_RANGE 		175
#define M_MORDOR_SOLDIERRHUN_SHROUD_RANGE			400

#define M_MORDOR_SOLDIERRHUN_PREATTACKDELAY 		600
#define M_MORDOR_SOLDIERRHUN_DELAYBETWEENSHOTS 		1000
#define M_MORDOR_SOLDIERRHUN_FIRINGDURATION 		1000
#define	M_MORDOR_SOLDIERRHUN_DAMAGE			60	;50
#define	M_MORDOR_SOLDIERRHUN_DAMAGE_UPGRADED		80
#define	M_MORDOR_SOLDIERRHUN_BOUNTY_VALUE			7

;------------------------CATAPULT-------------

#define M_MORDOR_CATAPULT_BUILDCOST			300
#define M_MORDOR_CATAPULT_BUILDTIME			30 
#define M_MORDOR_CATAPULT_HEALTH				2000 	; 240
#define M_MORDOR_CATAPULT_HEALTH_DAMAGED			1000
#define	M_MORDOR_CATAPULT_VISION_RANGE 			550

#define	M_MORDOR_CATAPULT_LVL1_EXP_AWARD 			10

#define M_MORDOR_CATAPULT_ROCK_PREATTACKDELAY 		800
#define M_MORDOR_CATAPULT_ROCK_DELAYBETWEENSHOTS 		6000
#define M_MORDOR_CATAPULT_ROCK_FIRINGDURATION 		3000

#define	M_MORDOR_CATAPULT_ROCK_RANGE			500 	; 400
#define M_MORDOR_CATAPULT_ROCK_MINRANGE			300
#define	M_MORDOR_CATAPULT_ROCK_DAMAGE			600	;400
#define	M_MORDOR_CATAPULT_FLAME_DAMAGE			400
#define M_MORDOR_CATAPULT_HEADS_PREATTACKDELAY 		800
#define M_MORDOR_CATAPULT_HEADS_DELAYBETWEENSHOTS 	6000
#define M_MORDOR_CATAPULT_HEADS_FIRINGDURATION 		3000
#define	M_MORDOR_CATAPULT_HEADS_RANGE			420 	; 400
#define	M_MORDOR_CATAPULT_HEADS_DAMAGE			60
#define	M_MORDOR_CATAPULT_BOUNTY_VALUE			125
#define M_MORDOR_CATAPULT_EXPANSION_AIM_DELTA		90


;------------------------SIEGETOWER-------------

#define M_MORDOR_SIEGETOWER_BUILDCOST			500
#define M_MORDOR_SIEGETOWER_BUILDTIME			60
#define M_MORDOR_SIEGETOWER_HEALTH			3000
#define M_MORDOR_SIEGETOWER_HEALTH_DAMAGED		2000
#define	M_MORDOR_SIEGETOWER_BOUNTY_VALUE			250

;------------------------MUMAKIL-------------

#define M_MORDOR_MUMAKIL_BUILDCOST			1000 	; originally 1600
#define M_MORDOR_MUMAKIL_BUILDTIME			60
#define M_MORDOR_MUMAKIL_HEALTH				8000
#define	M_MORDOR_MUMAKIL_VISION_RANGE 			400
#define	M_MORDOR_MUMAKIL_SHROUD_RANGE 			600

#define	M_MORDOR_MUMAKIL_CHARGE_DAMAGE			1000
#define	M_MUMAKIL_NORMAL_ATTACK				600
#define	M_MORDOR_MUMAKIL_BOUNTY_VALUE			400

;------------------------GROND-------------

#define M_MORDOR_GROND_BUILDCOST				5000
#define M_MORDOR_GROND_BUILDTIME				60
#define M_MORDOR_GROND_HEALTH				8000
#define M_MORDOR_GROND_HEALTH_DAMAGED			4000
#define	M_MORDOR_GROND_VISION_RANGE 			250

#define	M_MORDOR_GROND_DAMAGE				2000
#define	M_MORDOR_GROND_BOUNTY_VALUE			1250

;------------------------BANNER-------------

#define M_MORDOR_BANNER_BUILDCOST				1000
#define M_MORDOR_BANNER_BUILDTIME				30
#define M_MORDOR_BANNER_HEALTH				120
#define M_MORDOR_BANNER_HEALTH_DAMAGED			30
#define M_MORDOR_BANNER_HEALTH_RECOVERY_TIME		10000
#define	M_MORDOR_BANNER_VISION_RANGE 			175

#define	M_MORDOR_BANNER_LVL1_EXP_AWARD 			3
#define	M_MORDOR_BANNER_LVL2_EXP_AWARD 			4
#define	M_MORDOR_BANNER_LVL3_EXP_AWARD 			5
#define	M_MORDOR_BANNER_LVL4_EXP_AWARD 			6

#define	M_MORDOR_BANNER_LVL2_EXP_NEEDED 			10000
#define	M_MORDOR_BANNER_LVL3_EXP_NEEDED 			20000
#define	M_MORDOR_BANNER_LVL4_EXP_NEEDED 			30000

#define	M_MORDOR_BANNER_LVL2_HP_ADD	 		20
#define	M_MORDOR_BANNER_LVL3_HP_ADD	 		20
#define	M_MORDOR_BANNER_LVL4_HP_ADD	 		20

#define	M_MORDOR_BANNER_LVL2_DAM_ADD			10
#define	M_MORDOR_BANNER_LVL3_DAM_ADD			10
#define	M_MORDOR_BANNER_LVL4_DAM_ADD			10

#define	M_MORDOR_BANNER_BOUNTY_VALUE			3

;Uses same weapon as Mordor Orc Fighter


;=============MORDOR TECHNOLOGY AND UPGRADES===========
;======================================================

#define M_MORDOR_TECH_BASIC_TRAINING_BUILDCOST		1000
#define M_MORDOR_TECH_BASIC_TRAINING_BUILDTIME		30

#define M_MORDOR_TECH_FIRE_ARROWS_BUILDCOST		1000
#define M_MORDOR_TECH_FIRE_ARROWS_BUILDTIME		30

#define M_MORDOR_TECH_FORGED_BLADES_BUILDCOST		1000
#define M_MORDOR_TECH_FORGED_BLADES_BUILDTIME		30

#define M_MORDOR_TECH_HEAVY_ARMOR_BUILDCOST		1000
#define M_MORDOR_TECH_HEAVY_ARMOR_BUILDTIME		30

;-----
#define M_MORDOR_PERSONAL_BASIC_TRAINING_BUILDCOST	250
#define M_MORDOR_PERSONAL_BASIC_TRAINING_BUILDTIME	10

#define M_MORDOR_PERSONAL_FIRE_ARROWS_BUILDCOST		250
#define M_MORDOR_PERSONAL_FIRE_ARROWS_BUILDTIME		10

#define M_MORDOR_PERSONAL_FORGED_BLADES_BUILDCOST		250
#define M_MORDOR_PERSONAL_FORGED_BLADES_BUILDTIME		10

#define M_MORDOR_PERSONAL_HEAVY_ARMOR_BUILDCOST		250
#define M_MORDOR_PERSONAL_HEAVY_ARMOR_BUILDTIME		10

;------------------------FLAGS------------------------

#define M_MORDOR_FLAG_ECONOMY_UNPACK_COST			200
#define M_MORDOR_FLAG_OUTPOST_UNPACK_COST			800 	; 400
#define M_MORDOR_FLAG_CAMP_UNPACK_COST			2000 	; 800
#define M_MORDOR_FLAG_CASTLE_UNPACK_COST			5000


;======================== MORDOR =====================
;=======================STRUCTURES====================

;------------------------FORTRESS---------------------

#define M_MORDOR_FORTRESS_BUILDCOST			5000
#define M_MORDOR_FORTRESS_BUILDTIME			120
#define M_MORDOR_FORTRESS_VISION_RANGE			400
#define	M_MORDOR_FORTRESS_SHROUD_CLEAR			800
#define M_MORDOR_FORTRESS_HEALTH				7500
#define M_MORDOR_FORTRESS_HEALTH_DAMAGED			5000
#define M_MORDOR_FORTRESS_HEALTH_REALLY_DAMAGED	2500
#define	M_MORDOR_FORTRESS_BOUNTY_VALUE			1250

#define M_MORDOR_FORTRESS_FIRE_FUEL			140
#define M_MORDOR_FORTRESS_FIRE_MAX_BURN_RATE		20
#define M_MORDOR_FORTRESS_FIRE_DECAY			5
#define M_MORDOR_FORTRESS_FIRE_RESISTANCE			10

//----Fortress improvements----

//Fire Arrows
#define M_MORDOR_FIREARROWS_BUILDCOST			1500
#define	M_MORDOR_FIREARROWS_BUILDTIME			30

//Morgul Sorcery
#define M_MORDOR_MORGULSORCERY_BUILDCOST			2000
#define M_MORDOR_MORGULSORCERY_BUILDTIME			30
#define M_MORDOR_MORGULSORCERY_KEEP_HEALTH_BONUS		0 	; Nerfing the Fortress Armor Upgrade -GB
#define M_MORDOR_MORGULSORCERY_KEEP_ARMOR_BONUS		50%
#define M_MORDOR_MORGULSORCERY_EXPANSION_HEALTH_BONUS 	0 	; Nerfing the Fortress Armor Upgrade -GB
#define M_MORDOR_MORGULSORCERY_EXPANSION_ARMOR_BONUS	50%

//Doom Pyres
#define M_MORDOR_DOOMPYRES_BUILDCOST			500
#define M_MORDOR_DOOMPYRES_BUILDTIME			5

//Doom Pyres
#define M_MORDOR_MAGMACAULDRONS_BUILDCOST			1500
#define M_MORDOR_MAGMACAULDRONS_BUILDTIME			30

//Lava Moat
#define M_MORDOR_LAVAMOAT_BUILDCOST			1000
#define M_MORDOR_LAVAMOAT_BUILDTIME			30

//----Fortress Monument----

//Gorgoroth Spire
#define M_MORDOR_GORGOROTHSPIRE_BUILDCOST			2500
#define M_MORDOR_GORGOROTHSPIRE_BUILDTIME			30
#define	M_MORDOR_GORGOROTHSPIRE_ROCK_RANGE		2000
#define	M_MORDOR_GORGOROTHSPIRE_ROCK_DAMAGE		1000
#define	M_MORDOR_GORGOROTHSPIRE_FLAME_DAMAGE		1000
#define M_MORDOR_GORGOROTHSPIRE_ROCK_PREATTACKDELAY 	800
#define M_MORDOR_GORGOROTHSPIRE_ROCK_DELAYBETWEENSHOTS 	6000
#define M_MORDOR_GORGOROTHSPIRE_ROCK_FIRINGDURATION 	3000

//==========Mordor Fortress Expansions===============

//------------WALL CATAPULT-------------

#define M_MODOR_WALLCATAPULTEXPANSION_BUILDCOST			1200
#define M_MODOR_WALLCATAPULTEXPANSION_BUILDTIME			30

#define M_MORDOR_WALLCATAPULTEXPANSION_HEALTH			1000
#define M_MORDOR_WALLCATAPULTEXPANSION_HEALTH_DAMAGED		500
#define M_MORDOR_WALLCATAPULTEXPANSION_HEALTH_REALLY_DAMAGED	250
#define	M_MORDOR_WALLCATAPULTEXPANSION_BOUNTY_VALUE		200

#define M_MORDOR_WALLCATAPULTEXPANSION_FIRE_FUEL			100
#define M_MORDOR_WALLCATAPULTEXPANSION_FIRE_MAX_BURN_RATE		20
#define M_MORDOR_WALLCATAPULTEXPANSION_FIRE_DECAY			5
#define M_MORDOR_WALLCATAPULTEXPANSION_FIRE_RESISTANCE		10

;//------------BARRICADE-------------

#define M_MODOR_BARRICADEEXPANSION_BUILDCOST			600
#define M_MODOR_BARRICADEEXPANSION_BUILDTIME			30

#define M_MORDOR_BARRICADEEXPANSION_HEALTH			2000
#define M_MORDOR_BARRICADEEXPANSION_HEALTH_DAMAGED		1000
#define M_MORDOR_BARRICADEEXPANSION_HEALTH_REALLY_DAMAGED		500
#define	M_MORDOR_BARRICADEEXPANSION_BOUNTY_VALUE			150

#define M_MORDOR_BARRICADEEXPANSION_FIRE_FUEL			100
#define M_MORDOR_BARRICADEEXPANSION_FIRE_MAX_BURN_RATE		20
#define M_MORDOR_BARRICADEEXPANSION_FIRE_DECAY			5
#define M_MORDOR_BARRICADEEXPANSION_FIRE_RESISTANCE		10

;//------------GATE WATCHERS-------------

#define M_MODOR_GATEWATCHEREXPANSION_BUILDCOST			600
#define M_MODOR_GATEWATCHEREXPANSION_BUILDTIME			30

#define M_MORDOR_GATEWATCHEREXPANSION_HEALTH			1500
#define M_MORDOR_GATEWATCHEREXPANSION_HEALTH_DAMAGED		750
#define M_MORDOR_GATEWATCHEREXPANSION_HEALTH_REALLY_DAMAGED	250
#define	M_MORDOR_GATEWATCHEREXPANSION_BOUNTY_VALUE		150

#define M_MORDOR_GATEWATCHEREXPANSION_FIRE_FUEL			100
#define M_MORDOR_GATEWATCHEREXPANSION_FIRE_MAX_BURN_RATE		20
#define M_MORDOR_GATEWATCHEREXPANSION_FIRE_DECAY			5
#define M_MORDOR_GATEWATCHEREXPANSION_FIRE_RESISTANCE		10

#define M_MORDOR_GATEWATCHEREXPANSION_DELAYBETWEENSHOTS		30000
#define M_MORDOR_GATEWATCHEREXPANSION_PREATTACKDELAY		5
#define M_MORDOR_GATEWATCHEREXPANSION_FIRINGDURATION		5
#define M_MORDOR_GATEWATCHEREXPANSION_RANGE			150
#define M_MORDOR_GATEWATCHEREXPANSION_FEAR_RADIUS			200
#define M_MORDOR_GATEWATCHEREXPANSION_FEAR_DURATION		5	//In seconds

;------------------------TAVERN-----------------------

#define M_MORDOR_TAVERN_LVL2_UPGRADE_COST				500
#define M_MORDOR_TAVERN_LVL2_UPGRADE_TIME				30
#define M_MORDOR_TAVERN_LVL2_UNIT_PRODUCTION_SPEED		1.10
#define M_MORDOR_TAVERN_LVL3_UPGRADE_COST				1000
#define M_MORDOR_TAVERN_LVL3_UPGRADE_TIME				60
#define M_MORDOR_TAVERN_LVL3_UNIT_PRODUCTION_SPEED		1.25
#define M_MORDOR_TAVERN_HEALTH					3000
#define M_MORDOR_TAVERN_HEALTH_DAMAGED				2000
#define M_MORDOR_TAVERN_HEALTH_REALLYDAMAGED			1000
#define M_MORDOR_TAVERN_BUILDCOST					600	; originally 500
#define M_MORDOR_TAVERN_BUILDTIME					45
#define M_MORDOR_TAVERN_BOUNTY_VALUE				125
#define M_MORDOR_TAVERN_LVL1_EXP_AWARD				50
#define M_MORDOR_TAVERN_LVL2_EXP_AWARD				60
#define M_MORDOR_TAVERN_LVL3_EXP_AWARD				70

#define M_MORDOR_TAVERN_LVL2_HP_ADD				1500
#define M_MORDOR_TAVERN_LVL3_HP_ADD				1500

;------------------------LUMBERMILL-------------

#define M_MORDOR_LUMBERMILL_BUILDCOST				450
#define M_MORDOR_LUMBERMILL_BUILDTIME				30
#define M_MORDOR_LUMBERMILL_HEALTH				1500
#define M_MORDOR_LUMBERMILL_HEALTH_DAMAGED			1000
#define M_MORDOR_LUMBERMILL_HEALTH_REALLY_DAMAGED			500
#define	M_MORDOR_LUMBERMILL_SHROUD_CLEAR				160
#define M_MORDOR_LUMBERMILL_MONEY_TIME 				6000
#define M_MORDOR_LUMBERMILL_MONEY_AMOUNT				10

#define M_MORDOR_LUMBERMILL_LVL2_HP_ADD           		500
#define M_MORDOR_LUMBERMILL_LVL3_HP_ADD           		1000

#define	M_MORDOR_LUMBERMILL_LVL1_EXP_AWARD 			50
#define	M_MORDOR_LUMBERMILL_LVL2_EXP_AWARD 			60
#define	M_MORDOR_LUMBERMILL_LVL3_EXP_AWARD 			70
  
#define M_MORDOR_LUMBERMILL_LVL2_EXP_NEEDED			2000
#define M_MORDOR_LUMBERMILL_LVL3_EXP_NEEDED 			5000

#define M_MORDOR_LUMBERMILL_LVL2_PRODUCTION 			1.25
#define M_MORDOR_LUMBERMILL_LVL3_PRODUCTION 			1.25
#define	M_MORDOR_LUMBERMILL_BOUNTY_VALUE				50

;------------------------SLAUGHTERHOUSE-------------

#define M_MORDOR_SLAUGHTERHOUSE_BUILDCOST			300
#define M_MORDOR_SLAUGHTERHOUSE_BUILDTIME			15
#define M_MORDOR_SLAUGHTERHOUSE_HEALTH			2000
#define M_MORDOR_SLAUGHTERHOUSE_HEALTH_DAMAGED		1333
#define M_MORDOR_SLAUGHTERHOUSE_HEALTH_REALLY_DAMAGED	667
#define	M_MORDOR_SLAUGHTERHOUSE_SHROUD_CLEAR		300
#define	M_MORDOR_SLAUGHTERHOUSE_VISION_RANGE		160
#define M_MORDOR_SLAUGHTERHOUSE_MONEY_TIME 		6000 
#define M_MORDOR_SLAUGHTERHOUSE_MONEY_AMOUNT		25
#define M_MORDOR_SLAUGHTERHOUSE_MONEY_RANGE		300

#define	M_MORDOR_SLAUGHTERHOUSE_LVL1_EXP_AWARD 		40
#define	M_MORDOR_SLAUGHTERHOUSE_LVL2_EXP_AWARD 		50
#define	M_MORDOR_SLAUGHTERHOUSE_LVL3_EXP_AWARD 		60

#define M_MORDOR_SLAUGHTERHOUSE_LVL2_EXP_NEEDED		1500 ;750
#define M_MORDOR_SLAUGHTERHOUSE_LVL3_EXP_NEEDED 		3000 ;3000

#define M_MORDOR_SLAUGHTERHOUSE_LVL2_HP_ADD           	500
#define M_MORDOR_SLAUGHTERHOUSE_LVL3_HP_ADD           	1000

#define M_MORDOR_SLAUGHTERHOUSE_LVL2_PRODUCTION 		1.25 ;1.34
#define M_MORDOR_SLAUGHTERHOUSE_LVL3_PRODUCTION 		1.5 ;1.25
#define	M_MORDOR_SLAUGHTERHOUSE_BOUNTY_VALUE		75

;------------------------ORCPIT-------------

#define M_MORDOR_ORCPIT_BUILDCOST				350	; originally 300
#define M_MORDOR_ORCPIT_BUILDTIME				35
#define	M_MORDOR_ORCPIT_SHROUD_CLEAR			160
#define	M_MORDOR_ORCPIT_VISION_RANGE			160
#define M_MORDOR_ORCPIT_HEALTH				1500
#define M_MORDOR_ORCPIT_HEALTH_DAMAGED			750
#define M_MORDOR_ORCPIT_HEALTH_REALLY_DAMAGED		500

#define	M_MORDOR_ORCPIT_LVL1_EXP_AWARD 			50
#define	M_MORDOR_ORCPIT_LVL2_EXP_AWARD 			60
#define	M_MORDOR_ORCPIT_LVL3_EXP_AWARD 			70

#define M_MORDOR_ORCPIT_LVL2_HP_ADD          		1500
#define M_MORDOR_ORCPIT_LVL3_HP_ADD          		1500

#define M_MORDOR_ORCPIT_LVL2_BUILD_SPEED 			1.10   
#define M_MORDOR_ORCPIT_LVL3_BUILD_SPEED 			1.25    

#define M_MORDOR_ORCPIT_LVL2_UPGRADE_COST			350
#define M_MORDOR_ORCPIT_LVL2_UPGRADE_TIME			30
#define M_MORDOR_ORCPIT_LVL3_UPGRADE_COST			500	; originally 1000
#define M_MORDOR_ORCPIT_LVL3_UPGRADE_TIME			45	; originally 60

#define	M_MORDOR_ORCPIT_BOUNTY_VALUE			100

;------------------------HARADRIMPALACE-------------

#define M_MORDOR_HARADRIMPALACE_BUILDCOST			300
#define M_MORDOR_HARADRIMPALACE_BUILDTIME			30
#define	M_MORDOR_HARADRIMPALACE_SHROUD_CLEAR		160
#define	M_MORDOR_HARADRIMPALACE_VISION_RANGE		160
#define M_MORDOR_HARADRIMPALACE_HEALTH			1500
#define M_MORDOR_HARADRIMPALACE_HEALTH_DAMAGED		750
#define M_MORDOR_HARADRIMPALACE_HEALTH_REALLY_DAMAGED	500

#define	M_MORDOR_HARADRIMPALACE_LVL1_EXP_AWARD 		50
#define	M_MORDOR_HARADRIMPALACE_LVL2_EXP_AWARD 		60
#define	M_MORDOR_HARADRIMPALACE_LVL3_EXP_AWARD 		70

#define M_MORDOR_HARADRIMPALACE_LVL2_UPGRADE_COST		500	; originally 500
#define M_MORDOR_HARADRIMPALACE_LVL2_UPGRADE_TIME		30
#define M_MORDOR_HARADRIMPALACE_LVL3_UPGRADE_COST		750	; originally 1000
#define M_MORDOR_HARADRIMPALACE_LVL3_UPGRADE_TIME		45	; originally 60

#define M_MORDOR_HARADRIMPALACE_LVL2_HP_ADD          	1500
#define M_MORDOR_HARADRIMPALACE_LVL3_HP_ADD          	1500

#define M_MORDOR_HARADRIMPALACE_LVL2_BUILD_SPEED 		1.10   
#define M_MORDOR_HARADRIMPALACE_LVL3_BUILD_SPEED 		1.25    

#define	M_MORDOR_HARADRIMPALACE_BOUNTY_VALUE		125


;------------------------TROLLCAGE-------------

#define M_MORDOR_TROLLCAGE_BUILDCOST			750
#define M_MORDOR_TROLLCAGE_BUILDTIME			45
#define	M_MORDOR_TROLLCAGE_SHROUD_CLEAR			160
#define	M_MORDOR_TROLLCAGE_VISION_RANGE			160
#define M_MORDOR_TROLLCAGE_HEALTH				1500
#define M_MORDOR_TROLLCAGE_HEALTH_DAMAGED			750
#define M_MORDOR_TROLLCAGE_HEALTH_REALLY_DAMAGED		500

#define	M_MORDOR_TROLLCAGE_LVL1_EXP_AWARD 		50
#define	M_MORDOR_TROLLCAGE_LVL2_EXP_AWARD 		60
#define	M_MORDOR_TROLLCAGE_LVL3_EXP_AWARD 		70

#define M_MORDOR_TROLLCAGE_LVL2_HP_ADD          		1500
#define M_MORDOR_TROLLCAGE_LVL3_HP_ADD          		1500

#define M_MORDOR_TROLLCAGE_LVL2_BUILD_SPEED 		1.10   
#define M_MORDOR_TROLLCAGE_LVL3_BUILD_SPEED 		1.25    

#define M_MORDOR_TROLLCAGE_LVL2_UPGRADE_COST		500
#define M_MORDOR_TROLLCAGE_LVL2_UPGRADE_TIME		30
#define M_MORDOR_TROLLCAGE_LVL3_UPGRADE_COST		1000
#define M_MORDOR_TROLLCAGE_LVL3_UPGRADE_TIME		60

#define	M_MORDOR_TROLLCAGE_BOUNTY_VALUE			185

;------------------------MUMAKILPEN-------------

#define M_MORDOR_MUMAKILPEN_BUILDCOST			1000 	; 1200
#define M_MORDOR_MUMAKILPEN_BUILDTIME			45
#define	M_MORDOR_MUMAKILPEN_SHROUD_CLEAR			160
#define	M_MORDOR_MUMAKILPEN_VISION_RANGE			160
#define M_MORDOR_MUMAKILPEN_HEALTH			1500
#define M_MORDOR_MUMAKILPEN_HEALTH_DAMAGED		750
#define M_MORDOR_MUMAKILPEN_HEALTH_REALLY_DAMAGED		500

#define	M_MORDOR_MUMAKILPEN_LVL1_EXP_AWARD 		50
#define	M_MORDOR_MUMAKILPEN_LVL2_EXP_AWARD 		60
#define	M_MORDOR_MUMAKILPEN_LVL3_EXP_AWARD 		70

#define M_MORDOR_MUMAKILPEN_LVL2_HP_ADD          		1000
#define M_MORDOR_MUMAKILPEN_LVL3_HP_ADD          		1000

#define M_MORDOR_MUMAKILPEN_LVL2_BUILD_SPEED 		1.10   
#define M_MORDOR_MUMAKILPEN_LVL3_BUILD_SPEED 		1.25    

#define M_MORDOR_MUMAKILPEN_LVL2_UPGRADE_COST		250
#define M_MORDOR_MUMAKILPEN_LVL2_UPGRADE_TIME		30
#define	M_MORDOR_MUMAKILPEN_LVL3_UPGRADE_COST		500
#define M_MORDOR_MUMAKILPEN_LVL3_UPGRADE_TIME		45	; originally 60

#define	M_MORDOR_MUMAKILPEN_BOUNTY_VALUE			250


;------------------------SIEGEWORKS-------------

#define M_MORDOR_SIEGEWORKS_BUILDCOST			600 	; 1200
#define M_MORDOR_SIEGEWORKS_BUILDTIME			30
#define	M_MORDOR_SIEGEWORKS_SHROUD_CLEAR			160
#define	M_MORDOR_SIEGEWORKS_VISION_RANGE			160
#define M_MORDOR_SIEGEWORKS_HEALTH			1500
#define M_MORDOR_SIEGEWORKS_HEALTH_DAMAGED		750
#define M_MORDOR_SIEGEWORKS_HEALTH_REALLY_DAMAGED		500

#define	M_MORDOR_SIEGEWORKS_LVL1_EXP_AWARD 		50
#define	M_MORDOR_SIEGEWORKS_LVL2_EXP_AWARD 		60
#define	M_MORDOR_SIEGEWORKS_LVL3_EXP_AWARD 		70

#define M_MORDOR_SIEGEWORKS_LVL2_HP_ADD          		1500
#define M_MORDOR_SIEGEWORKS_LVL3_HP_ADD          		1500

#define M_MORDOR_SIEGEWORKS_LVL2_BUILD_SPEED 		1.10   
#define M_MORDOR_SIEGEWORKS_LVL3_BUILD_SPEED 		1.25    

#define M_MORDOR_SIEGEWORKS_LVL2_UPGRADE_COST		500
#define M_MORDOR_SIEGEWORKS_LVL2_UPGRADE_TIME		30
#define M_MORDOR_SIEGEWORKS_LVL3_UPGRADE_COST		1000
#define M_MORDOR_SIEGEWORKS_LVL3_UPGRADE_TIME		45	; originally 60

#define	M_MORDOR_SIEGEWORKS_BOUNTY_VALUE			200




;========================WILDMEN========================
;=======================STRUCTURES======================

;------------------------LUMBERMILL--------------------

#define M_WILD_LUMBERMILL_BUILDCOST			450
#define M_WILD_LUMBERMILL_BUILDTIME			30
#define M_WILD_LUMBERMILL_HEALTH				1500
#define M_WILD_LUMBERMILL_HEALTH_DAMAGED			1000
#define M_WILD_LUMBERMILL_HEALTH_REALLY_DAMAGED		500
#define M_WILD_LUMBERMILL_SHROUD_CLEAR			160
#define M_WILD_LUMBERMILL_MONEY_TIME 			6000
#define M_WILD_LUMBERMILL_MONEY_AMOUNT			10

#define M_WILD_LUMBERMILL_LVL2_HP_ADD           		500
#define M_WILD_LUMBERMILL_LVL3_HP_ADD           		1000

#define M_WILD_LUMBERMILL_LVL2_PRODUCTION 		1.25
#define M_WILD_LUMBERMILL_LVL3_PRODUCTION 		1.25
#define M_WILD_LUMBERMILL_BOUNTY_VALUE			50

#define	M_WILD_LUMBERMILL_LVL1_EXP_AWARD 			50
#define	M_WILD_LUMBERMILL_LVL2_EXP_AWARD 			60
#define	M_WILD_LUMBERMILL_LVL3_EXP_AWARD 			70
  
#define M_WILD_LUMBERMILL_LVL2_EXP_NEEDED			2000
#define M_WILD_LUMBERMILL_LVL3_EXP_NEEDED 		5000

;---------------------WILD FORTRESS--------------------

#define M_WILD_FORTRESS_BUILDCOST				5000
#define M_WILD_FORTRESS_BUILDTIME				120
#define M_WILD_FORTRESS_VISION_RANGE			400
#define	M_WILD_FORTRESS_SHROUD_CLEAR			800
#define M_WILD_FORTRESS_HEALTH				7500
#define M_WILD_FORTRESS_HEALTH_DAMAGED			5000
#define M_WILD_FORTRESS_HEALTH_REALLY_DAMAGED		2500

#define	M_WILD_FORTRESS_BOUNTY_VALUE			1250

;//Wild Fortress Improvements
#define M_WILD_BATCLOUD_BUILDCOST				500
#define M_WILD_BATCLOUD_BUILDTIME				30

#define M_WILD_DRAGONNEST_BUILDCOST			2500
#define M_WILD_DRAGONNEST_BUILDTIME			30
#define M_WILD_FIREDRAKE_BUILDCOST			2000
#define M_WILD_FIREDRAKE_BUILDTIME			30

#define M_WILD_FORTRESS_FIREARROWS_BUILDCOST		1500
#define M_WILD_FORTRESS_FIREARROWS_BUILDTIME		30

#define M_WILD_FORTRESS_WEBCOCOON_BUILDCOST		2000
#define M_WILD_FORTRESS_WEBCOCOON_BUILDTIME		30
#define M_WILD_FORTRESS_WEBCOCOON_KEEP_HEALTH_BONUS   	0 ; Nerfing the Fortress Armor Upgrade -GB
#define M_WILD_FORTRESS_WEBCOCOON_KEEP_ARMOR_BONUS	50%
#define M_WILD_FORTRESS_WEBCOCOON_EXPANSION_HEALTH_BONUS	0 ; Nerfing the Fortress Armor Upgrade -GB
#define	M_WILD_FORTRESS_WEBCOCOON_EXPANSION_ARMOR_BONUS	50%

#define M_WILD_FORTRESS_RAZORSPINES_BUILDCOST		1000
#define M_WILD_FORTRESS_RAZORSPINES_BUILDTIME		30
#define M_WILD_FORTRESS_RAZORSPINES_DAMAGE		150.0
#define M_WILD_FORTRESS_RAZORSPINES_RANGE			90.0

;------------------------CAVE-------------------------

#define M_GOBLIN_CAVE_BUILDCOST				400
#define M_GOBLIN_CAVE_BUILDTIME				20	; originally 30
#define M_GOBLIN_CAVE_LEVEL2_UPGRADE_COST			100
#define M_GOBLIN_CAVE_LEVEL2_UPGRADE_BUILDTIME		30
#define M_GOBLIN_CAVE_LEVEL3_UPGRADE_COST			200
#define M_GOBLIN_CAVE_LEVEL3_UPGRADE_BUILDTIME		45	; originally 60
#define	M_GOBLIN_CAVE_SHROUD_CLEAR			160
#define	M_GOBLIN_CAVE_VISION_RANGE			160
#define M_GOBLIN_CAVE_HEALTH				1500
#define M_GOBLIN_CAVE_HEALTH_DAMAGED			1000
#define M_GOBLIN_CAVE_HEALTH_REALLY_DAMAGED		500
#define	M_GOBLIN_CAVE_BOUNTY_VALUE			100
#define M_GOBLIN_CAVE_LVL2_EXP_NEEDED			2400
#define M_GOBLIN_CAVE_LVL3_EXP_NEEDED 			4800
#define	M_GOBLIN_CAVE_LVL1_EXP_AWARD 			50
#define	M_GOBLIN_CAVE_LVL2_EXP_AWARD 			60
#define	M_GOBLIN_CAVE_LVL3_EXP_AWARD 			70
#define	M_GOBLIN_CAVE_LVL2_HP_ADD	 			1500
#define	M_GOBLIN_CAVE_LVL3_HP_ADD	 			1500

#define M_GOBLIN_CAVE_LVL2_BUILD_SPEED 			1.10   
#define M_GOBLIN_CAVE_LVL3_BUILD_SPEED 			1.25 

;------------------------FISSURE-----------------------

#define M_GOBLIN_FISSURE_BUILDCOST			500	; originally 600
#define M_GOBLIN_FISSURE_BUILDTIME			30
#define M_GOBLIN_FISSURE_LEVEL2_UPGRADE_COST		500
#define M_GOBLIN_FISSURE_LEVEL2_UPGRADE_BUILDTIME 	30
#define M_GOBLIN_FISSURE_LEVEL3_UPGRADE_COST		1000
#define M_GOBLIN_FISSURE_LEVEL3_UPGRADE_BUILDTIME		60
#define	M_GOBLIN_FISSURE_SHROUD_CLEAR			160
#define	M_GOBLIN_FISSURE_VISION_RANGE			160
#define M_GOBLIN_FISSURE_HEALTH				1500
#define M_GOBLIN_FISSURE_HEALTH_DAMAGED			1000
#define M_GOBLIN_FISSURE_HEALTH_REALLY_DAMAGED		500
#define	M_GOBLIN_FISSURE_BOUNTY_VALUE			175
#define M_GOBLIN_FISSURE_LVL2_EXP_NEEDED			2400
#define M_GOBLIN_FISSURE_LVL3_EXP_NEEDED			4800
#define M_GOBLIN_FISSURE_LVL1_EXP_AWARD			50
#define M_GOBLIN_FISSURE_LVL2_EXP_AWARD			60
#define M_GOBLIN_FISSURE_LVL3_EXP_AWARD			70
#define M_GOBLIN_FISSURE_LVL2_HP_ADD			1500
#define M_GOBLIN_FISSURE_LVL3_HP_ADD			1500
#define M_GOBLIN_FISSURE_LVL2_BUILD_SPEED			1.10
#define M_GOBLIN_FISSURE_LVL3_BUILD_SPEED			1.25

;------------------------SPIDER PIT---------------------

#define M_GOBLIN_SPIDERPIT_BUILDCOST			600
#define M_GOBLIN_SPIDERPIT_BUILDTIME			30
#define M_GOBLIN_SPIDERPIT_LEVEL2_UPGRADE_COST		500
#define M_GOBLIN_SPIDERPIT_LEVEL2_UPGRADE_BUILDTIME 	30
#define M_GOBLIN_SPIDERPIT_LEVEL3_UPGRADE_COST		1000
#define M_GOBLIN_SPIDERPIT_LEVEL3_UPGRADE_BUILDTIME	60
#define	M_GOBLIN_SPIDERPIT_SHROUD_CLEAR			160
#define	M_GOBLIN_SPIDERPIT_VISION_RANGE			160
#define M_GOBLIN_SPIDERPIT_HEALTH				1500
#define M_GOBLIN_SPIDERPIT_HEALTH_DAMAGED			1000
#define M_GOBLIN_SPIDERPIT_HEALTH_REALLY_DAMAGED		500
#define	M_GOBLIN_SPIDERPIT_BOUNTY_VALUE			150
#define M_GOBLIN_SPIDERPIT_LVL2_EXP_NEEDED		2400
#define M_GOBLIN_SPIDERPIT_LVL3_EXP_NEEDED		4800
#define M_GOBLIN_SPIDERPIT_LVL1_EXP_AWARD			50
#define M_GOBLIN_SPIDERPIT_LVL2_EXP_AWARD			60
#define M_GOBLIN_SPIDERPIT_LVL3_EXP_AWARD			70
#define M_GOBLIN_SPIDERPIT_LVL2_HP_ADD			1500
#define M_GOBLIN_SPIDERPIT_LVL3_HP_ADD			1500
#define M_GOBLIN_SPIDERPIT_LVL2_BUILD_SPEED		1.10
#define M_GOBLIN_SPIDERPIT_LVL3_BUILD_SPEED		1.25
#define M_GOBLIN_SPIDERPIT_VENOMSACK_UPGRADE_COST		200
#define M_GOBLIN_SPIDERPIT_VENOMSACK_UPGRADE_BUILDTIME		30
#define M_GOBLIN_SPIDERPIT_VENOMSACK_SCIENCE_UPGRADE_COST		1000
#define M_GOBLIN_SPIDERPIT_VENOMSACK_SCIENCE_UPGRADE_BUILDTIME	30


;------------------------TREASURE TROVE PIT-------------

#define M_GOBLIN_TREASURETROVE_BUILDCOST				1000
#define M_GOBLIN_TREASURETROVE_BUILDTIME				45
#define M_GOBLIN_TREASURETROVE_LEVEL2_UPGRADE_COST		500
#define M_GOBLIN_TREASURETROVE_LEVEL2_UPGRADE_BUILDTIME 		30
#define M_GOBLIN_TREASURETROVE_LEVEL3_UPGRADE_COST		1000
#define M_GOBLIN_TREASURETROVE_LEVEL3_UPGRADE_BUILDTIME		60
#define	M_GOBLIN_TREASURETROVE_SHROUD_CLEAR			160
#define	M_GOBLIN_TREASURETROVE_VISION_RANGE			160
#define M_GOBLIN_TREASURETROVE_HEALTH				1500
#define M_GOBLIN_TREASURETROVE_HEALTH_DAMAGED			1000
#define M_GOBLIN_TREASURETROVE_HEALTH_REALLY_DAMAGED		500
#define	M_GOBLIN_TREASURETROVE_BOUNTY_VALUE			250
#define M_GOBLIN_TREASURETROVE_LVL2_EXP_NEEDED			2400
#define M_GOBLIN_TREASURETROVE_LVL3_EXP_NEEDED			4800
#define M_GOBLIN_TREASURETROVE_LVL1_EXP_AWARD			50
#define M_GOBLIN_TREASURETROVE_LVL2_EXP_AWARD			60
#define M_GOBLIN_TREASURETROVE_LVL3_EXP_AWARD			70
#define M_GOBLIN_TREASURETROVE_LVL2_HP_ADD			1500
#define M_GOBLIN_TREASURETROVE_LVL3_HP_ADD			1500
#define M_GOBLIN_TREASURETROVE_LVL2_BUILD_SPEED			1.10
#define M_GOBLIN_TREASURETROVE_LVL3_BUILD_SPEED			1.25

;------------------------SKULL TOTEM --------------------

#define M_SKULL_TOTEM_HEALTH					200
#define M_SKULL_TOTEM_STEALTH_DETECT_RATE				1000	; ms
#define M_SKULL_TOTEM_STEALTH_DETECT_RADIUS			400

;------------------------MINE SHAFT ----------------------

#define M_GOBLIN_MINE_BUILDCOST					300
#define M_GOBLIN_MINE_BUILDTIME					15

#define M_GOBLIN_MINE_HEALTH					2000
#define M_GOBLIN_MINE_HEALTH_DAMAGED				1333
#define M_GOBLIN_MINE_HEALTH_REALLY_DAMAGED			667


#define M_GOBLIN_MINE_LEVEL2_UPGRADE_COST				500
#define M_GOBLIN_MINE_LEVEL2_UPGRADE_BUILDTIME 			30
#define M_GOBLIN_MINE_LEVEL3_UPGRADE_COST				1000
#define M_GOBLIN_MINE_LEVEL3_UPGRADE_BUILDTIME			60
#define	M_GOBLIN_MINE_BOUNTY_VALUE				75
#define	M_GOBLIN_MINE_VISION_RANGE				160
#define	M_GOBLIN_MINE_SHROUD_CLEAR				300

#define M_GOBLIN_MINE_LVL2_EXP_NEEDED				1500
#define M_GOBLIN_MINE_LVL3_EXP_NEEDED 				3000
#define	M_GOBLIN_MINE_LVL1_EXP_AWARD 				40
#define	M_GOBLIN_MINE_LVL2_EXP_AWARD 				50
#define	M_GOBLIN_MINE_LVL3_EXP_AWARD 				60

#define M_GOBLIN_MINE_LVL2_HP_ADD					500
#define M_GOBLIN_MINE_LVL3_HP_ADD					1000

#define M_GOBLIN_MINE_MONEY_TIME 					6000
#define M_GOBLIN_MINE_MONEY_AMOUNT				25
#define M_GOBLIN_MINE_MONEY_RANGE					300

#define	M_GOBLIN_MINE_TREE_LVL2_HP_ADD	 			1500
#define	M_GOBLIN_MINE_TREE_LVL3_HP_ADD	 			1500

;//------------------------SENTRY TOWER--------------------

#define M_WILD_SENTRY_TOWER_HEALTH				1500
#define M_WILD_SENTRY_TOWER_DAMAGED				1000
#define M_WILD_SENTRY_TOWER_REALLY_DAMAGED			500
#define M_WILD_SENTRY_TOWER_BUILDCOST				500
#define M_WILD_SENTRY_TOWER_BUILDTIME				60
#define M_WILD_SENTRY_TOWER_ARROW_UPGRADE_BUILDTIME		30
#define M_WILD_SENTRY_TOWER_ARROW_UPGRADE_BUILDCOST		500

;//-----------------WILD ARROW DEN EXPANSION-------------

#define M_WILD_ARROWDENEXPANSION_HEALTH				1000
#define M_WILD_ARROWDENEXPANSION_HEALTH_DAMAGED			500
#define M_WILD_ARROWDENEXPANSION_HEALTH_REALLY_DAMAGED		250
#define M_WILD_ARROWDENEXPANSION_BUILD_COST			500
#define M_WILD_ARROWDENEXPANSION_BUILD_TIME			10 	; originally 5

;//---------------WILD SPIDER HOLES EXPANSION------------

#define M_WILD_SPIDERHOLESEXPANSION_HEALTH			1000
#define M_WILD_SPIDERHOLESEXPANSION_HEALTH_DAMAGED		500
#define M_WILD_SPIDERHOLESEXPANSION_HEALTH_REALLY_DAMAGED		250
#define M_WILD_SPIDERHOLESEXPANSION_BUILD_COST			500
#define M_WILD_SPIDERHOLESEXPANSION_BUILD_TIME			10 	; originally 5

;//-------------------WILD BURROWS EXPANSION-------------

#define M_WILD_BURROWEXPANSION_HEALTH				1000
#define M_WILD_BURROWEXPANSION_HEALTH_DAMAGED			500
#define M_WILD_BURROWEXPANSION_HEALTH_REALLY_DAMAGED		250
#define M_WILD_BURROWEXPANSION_BUILD_COST				700
#define M_WILD_BURROWEXPANSION_BUILD_TIME				10 	; originally 5
#define M_WILD_BURROWEXPANSION_BOUNTY_VALUE			175

#define M_WILD_BURROWEXPANSION_FIRE_FUEL				140
#define M_WILD_BURROWEXPANSION_FIRE_MAX_BURN_RATE			20
#define M_WILD_BURROWEXPANSION_FIRE_DECAY				5
#define M_WILD_BURROWEXPANSION_FIRE_RESISTANCE			10

;//-------------------MenTrebuchetExpansion-------------
#define M_WILD_GIANTSENTRYEXPANSION_BUILDCOST			1200
#define M_WILD_GIANTSENTRYEXPANSION_BUILDTIME			30
#define M_WILD_GIANTSENTRYEXPANSION_VISION_RANGE			500
#define	M_WILD_GIANTSENTRYEXPANSION_SHROUD_CLEAR			500
#define M_WILD_GIANTSENTRYEXPANSION_HEALTH			1500
#define M_WILD_GIANTSENTRYEXPANSION_HEALTH_DAMAGED		1000
#define M_WILD_GIANTSENTRYEXPANSION_HEALTH_REALLY_DAMAGED		500
#define M_WILD_GIANTSENTRYEXPANSION_DELAYBETWEENSHOTS		4000
#define M_WILD_GIANTSENTRYEXPANSION_PREATTACKDELAY		3300
#define M_WILD_GIANTSENTRYEXPANSION_FIRINGDURATION		800
#define M_WILD_GIANTSENTRYEXPANSION_RANGE				500
#define M_WILD_GIANTSENTRYEXPANSION_WEAPONSPEED			300


;//======================WILDMEN========================
;//=======================UNITS=========================

;------------------------SHELOB-------------

#define M_WILD_SHELOB_BUILDCOST				2000
#define M_WILD_SHELOB_BUILDTIME				45 ;15
#define M_WILD_SHELOB_HEALTH				4500
#define M_WILD_SHELOB_HEALTH_DAMAGED			2250
#define M_WILD_SHELOB_HEALTH_RECOVERY_TIME		10000
#define	M_WILD_SHELOB_VISION_RANGE 			175

#define M_WILD_SHELOB_TUNNEL_DISTANCE			9999999

#define	M_WILD_SHELOB_BOUNTY_VALUE  			500

#define M_WILD_SHELOB_STINGER_PREATTACKDELAY 		600
#define M_WILD_SHELOB_STINGER_DELAYBETWEENSHOTS 		600
#define M_WILD_SHELOB_STINGER_FIRINGDURATION 		1000 	;600
#define M_WILD_SHELOB_STINGER_DAMAGE			250
;#define WILD_SHELOB_STINGER_POISON_DAMAGE		10

#define	M_WILD_SHELOB_LVL1_EXP_AWARD 			70
#define	M_WILD_SHELOB_LVL2_EXP_AWARD 			80
#define	M_WILD_SHELOB_LVL3_EXP_AWARD 			90
#define	M_WILD_SHELOB_LVL4_EXP_AWARD 			100
#define	M_WILD_SHELOB_LVL5_EXP_AWARD 			120
#define	M_WILD_SHELOB_LVL6_EXP_AWARD 			150
#define	M_WILD_SHELOB_LVL7_EXP_AWARD 			180
#define	M_WILD_SHELOB_LVL8_EXP_AWARD 			210
#define	M_WILD_SHELOB_LVL9_EXP_AWARD 			250
#define	M_WILD_SHELOB_LVL10_EXP_AWARD 			300

#define	M_WILD_SHELOB_LVL2_EXP_NEEDED 			50 ;200 
#define	M_WILD_SHELOB_LVL3_EXP_NEEDED 			100 ;400 
#define	M_WILD_SHELOB_LVL4_EXP_NEEDED 			200 ;600 
#define	M_WILD_SHELOB_LVL5_EXP_NEEDED 			300 ;800 
#define	M_WILD_SHELOB_LVL6_EXP_NEEDED 			400 ;1000 
#define	M_WILD_SHELOB_LVL7_EXP_NEEDED 			500 ;1200 
#define	M_WILD_SHELOB_LVL8_EXP_NEEDED 			600 ;1400 
#define	M_WILD_SHELOB_LVL9_EXP_NEEDED 			700 ;1600 
#define	M_WILD_SHELOB_LVL10_EXP_NEEDED 			800 ;2000

;------------------PORTER-------------

#define M_WILD_PORTER_BUILDCOST				500
#define M_WILD_PORTER_BUILDTIME				30
#define M_WILD_PORTER_HEALTH				500
#define M_WILD_PORTER_HEALTH_DAMAGED			250
#define M_WILD_PORTER_HEALTH_RECOVERY_TIME		10000
#define	M_WILD_PORTER_VISION_RANGE 			300
#define	M_WILD_PORTER_SHROUD_RANGE 			100

#define	M_WILD_PORTER_BOUNTY_VALUE      			125

;//-----------------FIGHTER-------------

#define	M_GOBLIN_FIGHTER_BUILDCOST			80	; originally 75
#define	M_GOBLIN_FIGHTER_BUILDTIME			33
#define	M_GOBLIN_FIGHTER_DAMAGE				15	; 20
#define M_GOBLIN_FIGHTER_FORGEDBLADES_UPGRADE		35	; 40
#define	M_GOBLIN_FIGHTER_HEALTH				50	; 75
#define	M_GOBLIN_FIGHTER_HEALTH_DAMAGED			20

#define	M_GOBLIN_FIGHTER_BOUNTY_VALUE			1
#define M_GOBLIN_FIGHTER_PREATTACKDELAY 			522
#define M_GOBLIN_FIGHTER_DELAYBETWEENSHOTS 		245 
#define M_GOBLIN_FIGHTER_FIRINGDURATION 			245

#define M_GOBLIN_FIGHTER_HORDE_VISION_RANGE      		175
#define M_GOBLIN_FIGHTER_SHROUD_RANGE            		300
#define M_GOBLIN_FIGHTER_VISION_RANGE        		175

;-----------------ARCHER-------------

#define	M_GOBLIN_ARCHER_BUILDCOST				250	; originaly 200
#define	M_GOBLIN_ARCHER_BUILDTIME				30

#define	M_GOBLIN_ARCHER_HEALTH				100	;80
#define	M_GOBLIN_ARCHER_HEALTH_DAMAGED			40
#define	M_GOBLIN_ARCHER_BOUNTY_VALUE			2	; originally 3
#define M_GOBLIN_ARCHER_PREATTACKDELAY 			1000
#define M_GOBLIN_ARCHER_BOW_RELOADTIME_MIN		1500
#define M_GOBLIN_ARCHER_BOW_RELOADTIME_MAX		2000
#define	M_GOBLIN_ARCHER_VISION_RANGE			400
#define	M_GOBLIN_ARCHER_HORDE_VISION_RANGE		350	; originally 400
#define M_GOBLIN_ARCHER_SHROUD_RANGE			450

;orc archers miss 50% so they get double damage
#define	M_GOBLIN_ARCHER_DAMAGE				25	;20
#define	M_GOBLIN_ARCHER_DAMAGE_MELEE			4

#define	M_GOBLIN_ARCHER_RANGE				275
#define	M_GOBLIN_ARCHER_BOMBARD_MINRANGE			150
#define	M_GOBLIN_ARCHER_BOMBARD_MAXRANGE			275

#define M_GOBLIN_ARCHER_DAMAGE_FIRE_PIERCE    		25	;20
#define M_GOBLIN_ARCHER_DAMAGE_FIRE_FLAME     		25	;20

;#define M_GOBLIN_ARCHER_HORDE_VISION_RANGE       	200
;#define M_GOBLIN_ARCHER_SHROUD_RANGE             	200

//------------------------Spiderling-----------

#define M_WILD_SPIDERLING_DAMAGE				75

#define M_WILD_SPIDERLING_HEALTH				200	;300
#define M_WILD_SPIDERLING_HEALTH_DAMAGED			100	;150

#define M_WILD_SPIDERLING_BOUNTY_VALUE			6	; originally 10

#define M_WILD_SPIDERLING_BUILD_COST			250	; originally 300
#define M_WILD_SPIDERLING_BUILD_TIME			30

#define M_WILD_SPIDERLING_VISION_RANGE			175
#define M_WILD_SPIDERLING_HORDE_VISION_RANGE		175
#define M_WILD_SPIDERLING_SHROUD_RANGE			300

;------------ Summoned Spiderlings ------------

#define M_WILD_SUMMONED_SPIDERLING_HEALTH			750
#define M_WILD_SUMMONED_SPIDERLING_HEALTH_DAMAGED		375

#define M_WILD_SUMMONED_SPIDERLING_DAMAGE			250

//--------------Spider Holes Spiderling--------

#define M_WILD_SPIDERLING_SLAVED_VISION_RANGE		175
#define M_WILD_SPIDERLING_SLAVED_SHROUD_RANGE		175

#define M_WILD_SPIDERLING_SLAVED_DAMAGE			100
#define M_WILD_SPIDERLING_SLAVED_HEALTH			300
#define M_WILD_SPIDERLING_SLAVED_HEALTH_DAMAGED		50

#define M_WILD_SPIDERLING_SLAVED_BOUNTY_VALUE		5

;------------------------Spider Rider-----------

#define M_WILD_SPIDERRIDER_HEALTH				600
#define M_WILD_SPIDERRIDER_HEALTH_DAMAGED			300
#define M_WILD_SPIDERRIDER_BOUNTTY_VALUE			25	; originally 20
#define M_WILD_SPIDERRIDER_BUILD_COST			600
#define M_WILD_SPIDERRIDER_BUILD_TIME			30

#define M_WILD_SPIDERRIDER_HORDE_VISION_RANGE      	300
#define M_WILD_SPIDERRIDER_VISION_RANGE      		300
#define M_WILD_SPIDERRIDER_SHROUD_RANGE      		300

;Bow
#define M_WILD_SPIDERRIDER_BOW_PREATTACKDELAY       	567	;match animation
#define M_WILD_SPIDERRIDER_BOW_RELOADTIME_MIN       	1250
#define M_WILD_SPIDERRIDER_BOW_RELOADTIME_MAX       	2000

;Sword
#define M_WILD_SPIDERRIDER_SWORD_PREATTACKDELAY     	700
#define M_WILD_SPIDERRIDER_SWORD_DELAYBETWEENSHOTS  	1500
#define M_WILD_SPIDERRIDER_SWORD_FIRINGDURATION     	800

#define M_WILD_SPIDERRIDER_RANGE				400
#define M_WILD_SPIDERRIDER_BOW_DAMAGE             	50 
#define M_WILD_SPIDERRIDER_FIRE_UPGRADE_DAMAGE       	50 
#define M_WILD_SPIDERRIDER_FIRE_UPGRADE_DAMAGE_FLAME  	25 	;


#define M_WILD_SPIDERRIDER_MELEE_DAMAGE               	120 	;was not used in BFME...added to weapon for patch 1.02
#define M_WILD_SPIDERRIDER_MELEE_DAMAGE_UPGRADE       	240
  

;------------------------Mountain Giant-----------

#define M_WILD_MOUNTAIN_GIANT_BUILDCOST			1000
#define M_WILD_MOUNTAIN_GIANT_BOUNTYVALUE			250	;; GREG BALANCE ME
#define M_WILD_MOUNTAIN_GIANT_BUILDTIME			45
#define M_WILD_MOUNTAIN_GIANT_HEALTH			4000
#define M_WILD_MOUNTAIN_GIANT_HEALTH_DAMAGED		2000
#define M_WILD_MOUNTAIN_GIANT_VISION_RADIUS		500
#define M_WILD_MOUNTAIN_GIANT_SHROUD_RADIUS		500

#define M_WILD_MOUNTAIN_GIANT_SPEED			55

#define	M_WILD_MOUNTAIN_GIANT_PUNCH_DAMAGE		600
#define	M_WILD_MOUNTAIN_GIANT_PUNCH_RADIUS		50
#define	M_WILD_MOUNTAIN_GIANT_KICK_DAMAGE			600
#define	M_WILD_MOUNTAIN_GIANT_KICK_RADIUS			20
#define	M_WILD_MOUNTAIN_GIANT_ROCK_DAMAGE		        600
#define	M_WILD_MOUNTAIN_GIANT_ROCK_RANGE			500 	;600
#define M_WILD_MOUNTAIN_GIANT_ROCK_MINRANGE		200
#define	M_WILD_MOUNTAIN_GIANT_BUILDINGATTACK_DAMAGE	600
#define	M_WILD_MOUNTAIN_GIANT_ANTIMONSTER_DAMAGE		600

#define	M_WILD_MOUNTAIN_GIANT_BOUNTY_VALUE		250

// Using rock and smashing straight down at targets too close to throw at
#define M_WILD_MOUNTAIN_GIANT_ROCK_MELEE_DAMAGE		20
#define M_WILD_MOUNTAIN_GIANT_ROCK_MELEE_RADIUS		20

// Stomp special ability
#define M_WILD_MOUNTAIN_GIANT_STOMP_RADIUS		50
#define M_WILD_MOUNTAIN_GIANT_STOMP_DAMAGE		1000

// Dead Giant falling and crushing anything below
#define M_WILD_MOUNTAIN_GIANT_DEATH_RADIUS		30
#define M_WILD_MOUNTAIN_GIANT_DEATH_DAMAGE		100

;------------------------Marauder-------------

#define M_WILD_MARAUDER_BUILDCOST				500	;450
#define M_WILD_MARAUDER_BUILDTIME				30
#define	M_WILD_MARAUDER_VISION_RANGE 			175
#define	M_WILD_MARAUDER_SHROUD_RANGE			300
#define	M_WILD_MARAUDER_HORDE_VISION_RANGE 		175
#define M_WILD_MARAUDER_HEALTH				600
#define M_WILD_MARAUDER_HEALTH_DAMAGED			150
#define M_WILD_MARAUDER_HEALTH_RECOVERY_TIME		10000

#define M_WILD_MARAUDER_STAB_PREATTACKDELAY 		600
#define M_WILD_MARAUDER_STAB_DELAYBETWEENSHOTS 		900
#define M_WILD_MARAUDER_STAB_FIRINGDURATION 		900
#define M_WILD_MARAUDER_STAB_DAMAGE			100
#define M_WILD_MARAUDER_DAMAGE_UPGRADE			175		; originally 200
#define	M_WILD_MARAUDER_BOUNTY_VALUE			15

;-------------Marauder Swordsmen-------------

#define M_WILD_MARAUDERSWORDS_BUILDCOST			500
#define M_WILD_MARAUDERSWORDS_BUILDTIME			30
#define	M_WILD_MARAUDERSWORDS_VISION_RANGE 		175
#define	M_WILD_MARAUDERSWORDS_SHROUD_RANGE		300
#define	M_WILD_MARAUDERSWORDS_HORDE_VISION_RANGE 		175
#define M_WILD_MARAUDERSWORDS_HEALTH			600
#define M_WILD_MARAUDERSWORDS_HEALTH_DAMAGED		150
#define M_WILD_MARAUDERSWORDS_HEALTH_RECOVERY_TIME	10000

#define M_WILD_MARAUDERSWORDS_STAB_PREATTACKDELAY 	600
#define M_WILD_MARAUDERSWORDS_STAB_DELAYBETWEENSHOTS 	900
#define M_WILD_MARAUDERSWORDS_STAB_FIRINGDURATION 	900
#define M_WILD_MARAUDERSWORDS_STAB_DAMAGE			100
#define M_WILD_MARAUDERSWORDS_DAMAGE_UPGRADE		175
#define	M_WILD_MARAUDERSWORDS_BOUNTY_VALUE		15

#define	M_WILD_MARAUDERSWORDS_PICK_DAMAGE			100
#define	M_WILD_MARAUDERSWORDS_PICK_DAMAGE_UPGRADE		175

#define	M_WILD_MARAUDERSWORDS_DELAYBETWEENSHOTS		1500
#define	M_WILD_MARAUDERSWORDS_PREATTACKDELAY		400
#define	M_WILD_MARAUDERSWORDS_FIRINGDURATION		2100

;---------------WILD TECHNOLOGY AND UPGRADES--

#define M_WILD_PERSONAL_BASIC_TRAINING_BUILDCOST		250
#define M_WILD_PERSONAL_BASIC_TRAINING_BUILDTIME		10

#define M_WILD_TECH_BASIC_TRAINING_BUILDCOST		1000
#define M_WILD_TECH_BASIC_TRAINING_BUILDTIME		30

#define M_WILD_PERSONAL_FIRE_ARROWS_BUILDCOST		250
#define M_WILD_PERSONAL_FIRE_ARROWS_BUILDTIME		10

#define M_WILD_TECH_FIRE_ARROWS_BUILDCOST			1000
#define M_WILD_TECH_FIRE_ARROWS_BUILDTIME			30


#define M_WILD_PERSONAL_FORGED_BLADES_BUILDCOST		250
#define M_WILD_PERSONAL_FORGED_BLADES_BUILDTIME		10

#define M_WILD_TECH_FORGED_BLADES_BUILDCOST		1000
#define M_WILD_TECH_FORGED_BLADES_BUILDTIME		30


#define M_WILD_PERSONAL_HEAVY_ARMOR_BUILDCOST		250
#define M_WILD_PERSONAL_HEAVY_ARMOR_BUILDTIME		10

#define M_WILD_TECH_HEAVY_ARMOR_BUILDCOST			1000
#define M_WILD_TECH_HEAVY_ARMOR_BUILDTIME			30



;========================EVILMEN=======================
;=========================UNITS========================

;------------------------SHIP------------------------

#define M_EVIL_BOMBARDSHIP_BUILDTIME			45
#define M_EVIL_BOMBARDSHIP_BUILDCOST			3000
#define M_EVIL_BOMBARDSHIP_HEALTH				1000

#define M_EVIL_FIRESHIP_BUILDTIME				15
#define M_EVIL_FIRESHIP_BUILDCOST				500
#define M_EVIL_FIRESHIP_HEALTH				1000

#define M_EVIL_BATTLESHIP_BUILDTIME			20
#define M_EVIL_BATTLESHIP_BUILDCOST			750
#define M_EVIL_BATTLESHIP_HEALTH				1000

#define	M_EVILMEN_SHIP_VISION_RANGE		 	500


#define	M_EVIL_SHIP_HEAVY_ARMOR_BUILDCOST			200
#define	M_EVIL_SHIP_HEAVY_ARMOR_BUILDTIME			10

#define	M_EVIL_SHIP_PIRATEFLAG_BUILDCOST			200
#define	M_EVIL_SHIP_PIRATEFLAG_BUILDTIME			10

#define	M_EVIL_SHIP_CROWSNEST_BUILDCOST			200
#define	M_EVIL_SHIP_CROWSNEST_BUILDTIME			10

#define M_EVIL_SHIP_FLAMINGPITCH_BUILDCOST		200
#define M_EVIL_SHIP_FLAMINGPITCH_BUILDTIME		10

#define M_EVIL_SHIP_ANTI_SHIP_WEAPON_RANGE		350
#define M_EVIL_SHIP_ANTI_SHIP_WEAPON_DAMAGE		25
#define M_EVIL_SHIP_ANTI_SHIP_SPEED			120
#define M_EVIL_SHIP_ANTI_SHIP_REVEAL_RADIUS		100	; The amount we are reveal when firing
#define M_EVIL_SHIP_ANTI_SHIP_REVEAL_TIMEOUT		5000	; The amount of time we are revealed for when firing

#define M_EVIL_SHIP_BOMBARD_WEAPON_RANGE			1000
#define M_EVIL_SHIP_BOMBARD_WEAPON_MIN_RANGE		400
#define M_EVIL_SHIP_BOMBARD_WEAPON_DAMAGE			500
#define M_EVIL_SHIP_BOMBARD_WEAPON_FIRE_RATE		5000
#define M_EVIL_SHIP_BOMBARD_SPEED				80
#define M_EVIL_SHIP_BOMBARD_REVEAL_RADIUS			100	; The amount we are reveal when firing
#define M_EVIL_SHIP_BOMBARD_REVEAL_TIMEOUT		5000	; The amount of time we are revealed for when firing

#define M_EVIL_SHIP_TRANSPORT_SPEED			70

#define M_EVIL_FIRE_SHIP_RANGE				5
#define M_EVIL_FIRE_SHIP_TIMEOUT				30000
#define M_EVIL_FIRE_SHIP_WEAPON_DAMAGE_01			1000	; For expanding rings of damage.
#define M_EVIL_FIRE_SHIP_WEAPON_RADIUS_01			200
#define M_EVIL_FIRE_SHIP_WEAPON_DAMAGE_02			750
#define M_EVIL_FIRE_SHIP_WEAPON_RADIUS_02			300
#define M_EVIL_FIRE_SHIP_WEAPON_DAMAGE_03			500
#define M_EVIL_FIRE_SHIP_WEAPON_RADIUS_03			400

#define M_EVIL_SHIP_FIRE_DAMAGE_TIMEOUT			500	; The tick timeout.
#define M_EVIL_SHIP_FIRE_DAMAGE_AMOUNT			5	; The damage dealt per tick.
#define M_EVIL_SHIP_FIRE_DAMAGE_HEALTH			#MULTIPLY( M_EVIL_BATTLESHIP_HEALTH 0.8 )		; The amount of damage we take before catching fire.

;------------------------BLACKRIDER-------------

#define M_EVILMEN_BLACKRIDER_BUILDCOST			2000
#define M_EVILMEN_BLACKRIDER_BUILDTIME			40 
#define M_EVILMEN_BLACKRIDER_HEALTH			2000
#define M_EVILMEN_BLACKRIDER_HEALTH_DAMAGED		1000
#define M_EVILMEN_BLACKRIDER_HEALTH_RECOVERY_TIME		10000
#define	M_EVILMEN_BLACKRIDER_VISION_RANGE 		175
#define	M_EVILMEN_BLACKRIDER_SHROUD_RANGE 		300

#define	M_EVILMEN_BLACKRIDER_DAMAGE			150
#define M_EVILMEN_BLACKRIDER_MORGULBLADE_DAMAGE		80
#define	M_EVILMEN_BLACKRIDER_FORGEDBLADES_UPGRADE		90 
#define M_EVILMEN_BLACKRIDER_PREATTACKDELAY 		500  
#define M_EVILMEN_BLACKRIDER_DELAYBETWEENSHOTS 		1000 
#define M_EVILMEN_BLACKRIDER_FIRINGDURATION 		1000 
#define	M_EVILMEN_BLACKRIDER_BOUNTY_VALUE        		250
#define	M_BLACKRIDER_BOUNTY_VALUE        			104


;-------------------------Central Keeps--------------------

#define M_MORDOR_CENTRAL_CAMP_KEEP_HEALTH			4000
#define M_ISGENARD_CENTRAL_CAMP_KEEP_HEALTH		4000
#define M_ROHAN_CENTRAL_CAMP_KEEP_HEALTH			4000
#define M_ROHAN_CENTRAL_GOLDENHALL_HEALTH			4000
#define M_GONDOR_CENTRAL_CAMP_KEEP_HEALTH			4000
#define M_ELDER_CENTRAL_CAMP_KEEP_HEALTH			4000
#define M_GOBLIN_CENTRAL_CAMP_KEEP_HEALTH			4000

;------------------------FLAGS------------------------

#define M_ELVES_FLAG_ECONOMY_UNPACK_COST			200
#define M_ELVES_FLAG_OUTPOST_UNPACK_COST			800
#define M_ELVES_FLAG_CAMP_UNPACK_COST			2000
#define M_ELVES_FLAG_CASTLE_UNPACK_COST			5000

;------------------------FLAGS------------------------

#define M_DWARVES_FLAG_ECONOMY_UNPACK_COST		200
#define M_DWARVES_FLAG_OUTPOST_UNPACK_COST		800
#define M_DWARVES_FLAG_CAMP_UNPACK_COST			2000
#define M_DWARVES_FLAG_CASTLE_UNPACK_COST			5000

;------------------------FLAGS------------------------

#define M_GOBLINS_FLAG_ECONOMY_UNPACK_COST		200
#define M_GOBLINS_FLAG_OUTPOST_UNPACK_COST		800
#define M_GOBLINS_FLAG_CAMP_UNPACK_COST			2000
#define M_GOBLINS_FLAG_CASTLE_UNPACK_COST			5000

;------------------------FLAGS------------------------

#define M_EVILMEN_FLAG_ECONOMY_UNPACK_COST		200
#define M_EVILMEN_FLAG_OUTPOST_UNPACK_COST		800
#define M_EVILMEN_FLAG_CAMP_UNPACK_COST			2000
#define M_EVILMEN_FLAG_CASTLE_UNPACK_COST			5000




;********************************************************
;*							*
;*  			HERO DATA  			*
;*							*
;********************************************************

; Temp location for BOUNTY_VALUE Macros for heroes 
; until those units get added to this file.

#define	M_ROHAN_EOMER_BOUNTY_VALUE			150
#define M_ROHAN_EOWYN_BOUNTY_VALUE			150
#define M_ROHAN_FRODO_BOUNTY_VALUE			50
#define M_ROHAN_GAMLING_BOUNTY_VALUE			20
#define M_ROHAN_GIMLI_BOUNTY_VALUE			1000
#define M_ROHAN_LEGOLAS_BOUNTY_VALUE			750
#define M_ROHAN_MERRY_BOUNTY_VALUE			25
#define M_ROHAN_PIPPIN_BOUNTY_VALUE			25
#define M_ROHAN_SAM_BOUNTY_VALUE				50
#define M_ROHAN_THEODEN_BOUNTY_VALUE			150

#define M_GONDOR_ARAGORN_BOUNTY_VALUE			375
#define M_GONDOR_BOROMIR_BOUNTY_VALUE			175
#define M_GONDOR_DAMROD_BOUNTY_VALUE			20
#define M_GONDOR_DENETHOR_BOUNTY_VALUE			20
#define M_GONDOR_FARAMIR_BOUNTY_VALUE			150
#define M_GONDOR_GANDALFWHITE_BOUNTY_VALUE		750
#define M_GONDOR_GANDALFGREY_BOUNTY_VALUE			750
#define M_GONDOR_GWAIHIR_BOUNTY_VALUE			200

#define M_ELVEN_ARWEN_BOUNTY_VALUE			200
#define M_ELVEN_ELROND_BOUNTY_VALUE			625
#define M_ELVEN_GALADRIEL_BOUNTY_VALUE			2500
#define M_ELVEN_HALDIR_BOUNTY_VALUE			750
#define M_ELVEN_ISILDUR_BOUNTY_VALUE			20
#define M_ELVEN_GLORFINDEL_BOUNTY_VALUE			250
#define M_ELVEN_THRANDUIL_BOUNTY_VALUE			625

#define M_STEALTH_THRANDUIL_OPACITY_MIN			60.0%
#define M_STEALTH_THRANDUIL_OPACITY_MAX			80.0%

#define M_DWARVEN_DAIN_BOUNTY_VALUE			750
#define M_DWARVEN_GIMLI_BOUNTY_VALUE			1000
#define M_DWARVEN_GLOIN_BOUNTY_VALUE			625

;-----------------------Sauron------------------

#define M_SAURON_BOUNTY_VALUE				2500
#define M_SAURON_BUILDCOST				10000
#define M_SAURON_BUILDTIME				300
#define M_SAURON_HEALTH					15000
#define M_SAURON_DAMAGE					2000
#define M_SAURON_DEATH_EXPLOSION_DAMAGE	500

#define M_ISENGARD_SARUMAN_BOUNTY_VALUE			750
#define M_ISENGARD_WORMTONGUE_BOUNTY_VALUE		200

#define M_WILD_GOBLIN_KING_BOUNTY_VALUE			625


;----------------Generic Hero Level Up Bonuses --------

#define	M_HERO_LVL2_HP_ADD	 			60 	; 100
#define	M_HERO_LVL3_HP_ADD	 			60 	; 100
#define	M_HERO_LVL4_HP_ADD	 			80 	; 100
#define	M_HERO_LVL5_HP_ADD	 			100
#define	M_HERO_LVL6_HP_ADD	 			100 	; 200
#define	M_HERO_LVL7_HP_ADD	 			100 	; 200
#define	M_HERO_LVL8_HP_ADD	 			100 	; 200
#define	M_HERO_LVL9_HP_ADD	 			100	; 250
#define	M_HERO_LVL10_HP_ADD	 			100 	; 250

#define	M_HERO_LVL2_DAM_ADD				10
#define	M_HERO_LVL3_DAM_ADD				10
#define	M_HERO_LVL4_DAM_ADD				10
#define	M_HERO_LVL5_DAM_ADD				10
#define	M_HERO_LVL6_DAM_ADD				10
#define	M_HERO_LVL7_DAM_ADD				10
#define	M_HERO_LVL8_DAM_ADD				10
#define	M_HERO_LVL9_DAM_ADD				10
#define	M_HERO_LVL10_DAM_ADD				20

;----------------Generic Hobbit Level Up Bonuses --------

#define	M_HOBBIT_LVL2_HP_ADD	 			20
#define	M_HOBBIT_LVL3_HP_ADD	 			20
#define	M_HOBBIT_LVL4_HP_ADD	 			20
#define	M_HOBBIT_LVL5_HP_ADD	 			20
#define	M_HOBBIT_LVL6_HP_ADD	 			25
#define	M_HOBBIT_LVL7_HP_ADD	 			25
#define	M_HOBBIT_LVL8_HP_ADD	 			25
#define	M_HOBBIT_LVL9_HP_ADD	 			30
#define	M_HOBBIT_LVL10_HP_ADD	 			30

#define	M_HOBBIT_LVL2_DAM_ADD				10
#define	M_HOBBIT_LVL3_DAM_ADD				10
#define	M_HOBBIT_LVL4_DAM_ADD				10
#define	M_HOBBIT_LVL5_DAM_ADD				10
#define	M_HOBBIT_LVL6_DAM_ADD				15
#define	M_HOBBIT_LVL7_DAM_ADD				15
#define	M_HOBBIT_LVL8_DAM_ADD				15
#define	M_HOBBIT_LVL9_DAM_ADD				20
#define	M_HOBBIT_LVL10_DAM_ADD				20

;----------------Generic Hero Resurect Times --------

#define	M_HERO_LVL1_REZ	 				30
#define	M_HERO_LVL2_REZ	 				60
#define	M_HERO_LVL3_REZ	 				60
#define	M_HERO_LVL4_REZ	 				90
#define	M_HERO_LVL5_REZ	 				90
#define	M_HERO_LVL6_REZ	 				90
#define	M_HERO_LVL7_REZ	 				90
#define	M_HERO_LVL8_REZ	 				90
#define	M_HERO_LVL9_REZ	 				120
#define	M_HERO_LVL10_REZ	 				120


;-----------------------Theoden------------------

#define M_THEODEN_BUILDCOST				1200
#define M_THEODEN_BUILDTIME				30
#define M_THEODEN_HEALTH					1600

#define	M_THEODEN_LVL1_EXP_AWARD 				20
#define	M_THEODEN_LVL2_EXP_AWARD 				25
#define	M_THEODEN_LVL3_EXP_AWARD 				30
#define	M_THEODEN_LVL4_EXP_AWARD 				35
#define	M_THEODEN_LVL5_EXP_AWARD 				40
#define	M_THEODEN_LVL6_EXP_AWARD 				45
#define	M_THEODEN_LVL7_EXP_AWARD 				50
#define	M_THEODEN_LVL8_EXP_AWARD 				60
#define	M_THEODEN_LVL9_EXP_AWARD 				75
#define	M_THEODEN_LVL10_EXP_AWARD 			100

#define	M_THEODEN_LVL2_EXP_NEEDED 			50 	; 100
#define	M_THEODEN_LVL3_EXP_NEEDED 			100 	; 200
#define	M_THEODEN_LVL4_EXP_NEEDED 			200 	; 400
#define	M_THEODEN_LVL5_EXP_NEEDED 			300 	; 600
#define	M_THEODEN_LVL6_EXP_NEEDED 			400 	; 800
#define	M_THEODEN_LVL7_EXP_NEEDED 			500 	; 1000
#define	M_THEODEN_LVL8_EXP_NEEDED 			700 	; 1200
#define	M_THEODEN_LVL9_EXP_NEEDED 			900 	; 1600
#define	M_THEODEN_LVL10_EXP_NEEDED 			1100 	; 2000

#define M_THEODEN_PREATTACKDELAY 				1000
#define M_THEODEN_DELAYBETWEENSHOTS 			1250
#define M_THEODEN_FIRINGDURATION 				1400
#define	M_THEODEN_DAMAGE					180	; turned this up a little because animations slowed down...

#define M_THEODEN_MOUNTED_PREATTACKDELAY 			700
#define M_THEODEN_MOUNTED_DELAYBETWEENSHOTS 		800
#define M_THEODEN_MOUNTED_FIRINGDURATION 			800
#define	M_THEODEN_MOUNTED_DAMAGE				35

;-----------------------Eowyn------------------

#define M_EOWYN_BUILDCOST					1200
#define M_EOWYN_BUILDTIME					30
#define M_EOWYN_HEALTH					1600

#define	M_EOWYN_LVL1_EXP_AWARD 				20
#define	M_EOWYN_LVL2_EXP_AWARD 				25
#define	M_EOWYN_LVL3_EXP_AWARD 				30
#define	M_EOWYN_LVL4_EXP_AWARD 				35
#define	M_EOWYN_LVL5_EXP_AWARD 				40
#define	M_EOWYN_LVL6_EXP_AWARD 				45
#define	M_EOWYN_LVL7_EXP_AWARD 				50
#define	M_EOWYN_LVL8_EXP_AWARD 				60
#define	M_EOWYN_LVL9_EXP_AWARD 				75
#define	M_EOWYN_LVL10_EXP_AWARD 				100

#define	M_EOWYN_LVL2_EXP_NEEDED 				50 	; 100
#define	M_EOWYN_LVL3_EXP_NEEDED 				100 	; 200
#define	M_EOWYN_LVL4_EXP_NEEDED 				200 	; 400
#define	M_EOWYN_LVL5_EXP_NEEDED 				300 	; 600
#define	M_EOWYN_LVL6_EXP_NEEDED 				400 	; 800
#define	M_EOWYN_LVL7_EXP_NEEDED 				500 	; 1000
#define	M_EOWYN_LVL8_EXP_NEEDED 				700 	; 1200
#define	M_EOWYN_LVL9_EXP_NEEDED 				900 	; 1600
#define	M_EOWYN_LVL10_EXP_NEEDED 				1100 	; 2000

#define M_EOWYN_PREATTACKDELAY 				1000
#define M_EOWYN_DELAYBETWEENSHOTS 			600
#define M_EOWYN_FIRINGDURATION 				1500
#define	M_EOWYN_DAMAGE					150

#define	M_EOWYN_SMITE_DAMAGE				500
#define M_EOWYN_SHIELD_MAIDEN_ARMOR_BONUS_PERCENTAGE      50%		
#define M_EOWYN_SHIELD_MAIDEN_DAMAGE_BONUS_MULT		2.0

;-----------------------Arwen------------------

#define M_ARWEN_BUILDCOST					800
#define M_ARWEN_BUILDTIME					30
#define M_ARWEN_HEALTH					2000

#define	M_ARWEN_LVL1_EXP_AWARD 				20
#define	M_ARWEN_LVL2_EXP_AWARD 				25
#define	M_ARWEN_LVL3_EXP_AWARD 				30
#define	M_ARWEN_LVL4_EXP_AWARD 				35
#define	M_ARWEN_LVL5_EXP_AWARD 				40
#define	M_ARWEN_LVL6_EXP_AWARD 				45
#define	M_ARWEN_LVL7_EXP_AWARD 				50
#define	M_ARWEN_LVL8_EXP_AWARD 				60
#define	M_ARWEN_LVL9_EXP_AWARD 				75
#define	M_ARWEN_LVL10_EXP_AWARD 				100

#define	M_ARWEN_LVL2_EXP_NEEDED 				50 	; 100
#define	M_ARWEN_LVL3_EXP_NEEDED 				100 	; 200
#define	M_ARWEN_LVL4_EXP_NEEDED 				200 	; 400
#define	M_ARWEN_LVL5_EXP_NEEDED 				300 	; 600
#define	M_ARWEN_LVL6_EXP_NEEDED 				400 	; 800
#define	M_ARWEN_LVL7_EXP_NEEDED 				500 	; 1000
#define	M_ARWEN_LVL8_EXP_NEEDED 				700 	; 1200
#define	M_ARWEN_LVL9_EXP_NEEDED 				900 	; 1600
#define	M_ARWEN_LVL10_EXP_NEEDED 				1100  	; 2000

#define M_ARWEN_PREATTACKDELAY 				1000
#define M_ARWEN_DELAYBETWEENSHOTS 			600
#define M_ARWEN_FIRINGDURATION 				1500
#define	M_ARWEN_DAMAGE					100

#define M_ARWEN_FLOOD_DECREASEBURNRATE_RADIUS 100.0
#define M_ARWEN_FLOOD_DECREASEBURNRATE_AMOUNT 300.0

;-----------------------Glorfindel------------------

#define M_GLORFINDEL_BUILDCOST				1500
#define M_GLORFINDEL_BUILDTIME				30
#define M_GLORFINDEL_HEALTH				2500

#define	M_GLORFINDEL_LVL1_EXP_AWARD 			20
#define	M_GLORFINDEL_LVL2_EXP_AWARD 			25
#define	M_GLORFINDEL_LVL3_EXP_AWARD 			30
#define	M_GLORFINDEL_LVL4_EXP_AWARD 			35
#define	M_GLORFINDEL_LVL5_EXP_AWARD 			40
#define	M_GLORFINDEL_LVL6_EXP_AWARD 			45
#define	M_GLORFINDEL_LVL7_EXP_AWARD 			50
#define	M_GLORFINDEL_LVL8_EXP_AWARD 			60
#define	M_GLORFINDEL_LVL9_EXP_AWARD 			75
#define	M_GLORFINDEL_LVL10_EXP_AWARD 			100

#define	M_GLORFINDEL_LVL2_EXP_NEEDED 			50 	; 100
#define	M_GLORFINDEL_LVL3_EXP_NEEDED 			100 	; 200
#define	M_GLORFINDEL_LVL4_EXP_NEEDED 			200 	; 400
#define	M_GLORFINDEL_LVL5_EXP_NEEDED 			300 	; 600
#define	M_GLORFINDEL_LVL6_EXP_NEEDED 			400 	; 800
#define	M_GLORFINDEL_LVL7_EXP_NEEDED 			500 	; 1000
#define	M_GLORFINDEL_LVL8_EXP_NEEDED 			600 	; 1200
#define	M_GLORFINDEL_LVL9_EXP_NEEDED 			700 	; 1600
#define	M_GLORFINDEL_LVL10_EXP_NEEDED 			800 	; 2000

#define M_GLORFINDEL_PREATTACKDELAY 			1000
#define M_GLORFINDEL_DELAYBETWEENSHOTS 			600
#define M_GLORFINDEL_FIRINGDURATION 			1500
#define	M_GLORFINDEL_DAMAGE				40

#define	M_GLORFINDEL_STARLIGHT_RADIUS			200


;-----------------------Eomer------------------

#define M_EOMER_BUILDCOST					1000
#define M_EOMER_BUILDTIME					30
#define M_EOMER_HEALTH					2400

#define	M_EOMER_LVL1_EXP_AWARD 				20
#define	M_EOMER_LVL2_EXP_AWARD 				25
#define	M_EOMER_LVL3_EXP_AWARD 				30
#define	M_EOMER_LVL4_EXP_AWARD 				35
#define	M_EOMER_LVL5_EXP_AWARD 				40
#define	M_EOMER_LVL6_EXP_AWARD 				45
#define	M_EOMER_LVL7_EXP_AWARD 				50
#define	M_EOMER_LVL8_EXP_AWARD 				60
#define	M_EOMER_LVL9_EXP_AWARD 				75
#define	M_EOMER_LVL10_EXP_AWARD 				100

#define	M_EOMER_LVL2_EXP_NEEDED 				50 	; 100
#define	M_EOMER_LVL3_EXP_NEEDED 				100 	; 200
#define	M_EOMER_LVL4_EXP_NEEDED 				200 	; 400
#define	M_EOMER_LVL5_EXP_NEEDED 				300 	; 600
#define	M_EOMER_LVL6_EXP_NEEDED 				400 	; 800
#define	M_EOMER_LVL7_EXP_NEEDED 				500 	; 1000
#define	M_EOMER_LVL8_EXP_NEEDED 				700 	; 1200
#define	M_EOMER_LVL9_EXP_NEEDED 				900 	; 1600
#define	M_EOMER_LVL10_EXP_NEEDED 				1100 	; 2000

#define M_EOMER_PREATTACKDELAY 				700
#define M_EOMER_DELAYBETWEENSHOTS 			800
#define M_EOMER_FIRINGDURATION 				800
#define	M_EOMER_DAMAGE					80

#define M_EOMER_SPEAR_PREATTACKDELAY 			2733 ;600
#define M_EOMER_SPEAR_DELAYBETWEENSHOTS 			800
#define M_EOMER_SPEAR_FIRINGDURATION 			2900 ;800

;Throw spear power (Eomer version and the 3 create a hero versions)
#define	M_EOMER_SPEAR_DAMAGE				400
#define	M_CAH_SPEAR_DAMAGE_LVL1				1000
#define M_CAH_SPEAR_DAMAGE_LVL2				2000
#define	M_CAH_SPEAR_DAMAGE_LVL3				3000

;-----------------------Gamling------------------

#define M_GAMLING_BUILDCOST				1400
#define M_GAMLING_BUILDTIME				30
#define M_GAMLING_HEALTH					2400

#define	M_GAMLING_LVL1_EXP_AWARD 				20
#define	M_GAMLING_LVL2_EXP_AWARD 				25
#define	M_GAMLING_LVL3_EXP_AWARD 				30
#define	M_GAMLING_LVL4_EXP_AWARD 				35
#define	M_GAMLING_LVL5_EXP_AWARD 				40
#define	M_GAMLING_LVL6_EXP_AWARD 				45
#define	M_GAMLING_LVL7_EXP_AWARD 				50
#define	M_GAMLING_LVL8_EXP_AWARD 				60
#define	M_GAMLING_LVL9_EXP_AWARD 				75
#define	M_GAMLING_LVL10_EXP_AWARD 			100

#define	M_GAMLING_LVL2_EXP_NEEDED 			50 	; 100 
#define	M_GAMLING_LVL3_EXP_NEEDED 			100 	; 400 
#define	M_GAMLING_LVL4_EXP_NEEDED 			200 	; 600 
#define	M_GAMLING_LVL5_EXP_NEEDED 			300 	; 800 
#define	M_GAMLING_LVL6_EXP_NEEDED 			500 	; 1000 
#define	M_GAMLING_LVL7_EXP_NEEDED 			700 	; 1200 
#define	M_GAMLING_LVL8_EXP_NEEDED 			900 	; 1400 
#define	M_GAMLING_LVL9_EXP_NEEDED 			1100 	; 1600
#define	M_GAMLING_LVL10_EXP_NEEDED 			1500 	; 2000

#define M_GAMLING_PREATTACKDELAY 				733
#define M_GAMLING_DELAYBETWEENSHOTS 			766
#define M_GAMLING_FIRINGDURATION 				866
#define	M_GAMLING_DAMAGE					200	; originally 50 changed since Hwalder uses this weapon

;-----------------------Aragorn------------------

#define M_ARAGORN_BUILDCOST				2000
#define M_ARAGORN_BUILDTIME				30
#define M_ARAGORN_HEALTH					2400

#define	M_ARAGORN_LVL1_EXP_AWARD 				35
#define	M_ARAGORN_LVL2_EXP_AWARD 				40
#define	M_ARAGORN_LVL3_EXP_AWARD 				45
#define	M_ARAGORN_LVL4_EXP_AWARD 				50
#define	M_ARAGORN_LVL5_EXP_AWARD 				60
#define	M_ARAGORN_LVL6_EXP_AWARD 				75
#define	M_ARAGORN_LVL7_EXP_AWARD 				90
#define	M_ARAGORN_LVL8_EXP_AWARD 				105
#define	M_ARAGORN_LVL9_EXP_AWARD 				125
#define	M_ARAGORN_LVL10_EXP_AWARD 			150

#define	M_ARAGORN_LVL2_EXP_NEEDED 			100 	; 200 50
#define	M_ARAGORN_LVL3_EXP_NEEDED 			200 	; 400 100
#define	M_ARAGORN_LVL4_EXP_NEEDED 			300 	; 600 200
#define	M_ARAGORN_LVL5_EXP_NEEDED 			500 	; 800 300
#define	M_ARAGORN_LVL6_EXP_NEEDED 			700 	; 1000 500
#define	M_ARAGORN_LVL7_EXP_NEEDED 			900 	; 1200 700
#define	M_ARAGORN_LVL8_EXP_NEEDED 			1100 	; 1400 900
#define	M_ARAGORN_LVL9_EXP_NEEDED 			1500 	; 1600 1100
#define	M_ARAGORN_LVL10_EXP_NEEDED 			2000 	; 2000 1500
	
#define M_ARAGORN_PREATTACKDELAY 				600
#define M_ARAGORN_DELAYBETWEENSHOTS 			600
#define M_ARAGORN_FIRINGDURATION 				1000 	; 600
#define	M_ARAGORN_DAMAGE					400

// Have to include the mumakil passengers or else PulseEmotion will pass the emotion to the container, ultimately making the Mumakil afraid 
//(which this filter was designed to prevent in the first place)
#define M_ELENDIL_OBJECT_FILTER				ALL -MordorMumakil -MordorHaradrimArcherHordeOnMumakil -MordorHaradrimArcherMumakil ENEMIES

;-----------------------Gimli------------------

#define M_GIMLI_BUILDCOST					4000
#define M_GIMLI_BUILDTIME					30
#define M_GIMLI_HEALTH					4000

#define	M_GIMLI_LVL1_EXP_AWARD 				35
#define	M_GIMLI_LVL2_EXP_AWARD 				40
#define	M_GIMLI_LVL3_EXP_AWARD 				45
#define	M_GIMLI_LVL4_EXP_AWARD 				50
#define	M_GIMLI_LVL5_EXP_AWARD 				60
#define	M_GIMLI_LVL6_EXP_AWARD 				75
#define	M_GIMLI_LVL7_EXP_AWARD 				90
#define	M_GIMLI_LVL8_EXP_AWARD 				105
#define	M_GIMLI_LVL9_EXP_AWARD 				125
#define	M_GIMLI_LVL10_EXP_AWARD 				150

#define	M_GIMLI_LVL2_EXP_NEEDED 				50 	; 200 
#define	M_GIMLI_LVL3_EXP_NEEDED 				100 	; 400 
#define	M_GIMLI_LVL4_EXP_NEEDED 				200 	; 600 
#define	M_GIMLI_LVL5_EXP_NEEDED 				300 	; 800 
#define	M_GIMLI_LVL6_EXP_NEEDED 				500 	; 1000 
#define	M_GIMLI_LVL7_EXP_NEEDED 				700 	; 1200 
#define	M_GIMLI_LVL8_EXP_NEEDED 				900 	; 1400 
#define	M_GIMLI_LVL9_EXP_NEEDED 				1100 	; 1600
#define	M_GIMLI_LVL10_EXP_NEEDED 				1500 	; 2000

#define M_GIMLI_PREATTACKDELAY 				433
#define M_GIMLI_DELAYBETWEENSHOTS 			600
#define M_GIMLI_FIRINGDURATION 				600
#define	M_GIMLI_DAMAGE					500
#define M_GIMLI_PREATTACKDELAY_SUPER			833
#define M_GIMLI_DELAYBETWEENSHOTS_SUPER			600
#define M_GIMLI_FIRINGDURATION_SUPER			900
#define	M_GIMLI_DAMAGE_SUPER				500
#define	M_GIMLI_LEAP_DAMAGE				120

#define	M_GIMLI_THROW_DAMAGE				400
#define	M_GIMLI_THROW_RANGE				175

//----------------------Tornado--------------------

#define M_TORNADO_DAMAGE_INNER				120
#define M_TORNADO_DAMAGE_OUTER				30
#define M_TORNADO_METASHOCKWAVE_AMOUNT			170.0
#define M_TORNADO_METASHOCKWAVE_RADIUS			80.0

// Elrond's Whirlwind is a slightly nerfed Tornado
#define M_WHIRLWIND_DAMAGE_INNER				90
#define M_WHIRLWIND_DAMAGE_OUTER				20
#define M_WHIRLWIND_METASHOCKWAVE_AMOUNT			150.0
#define M_WHIRLWIND_METASHOCKWAVE_RADIUS			50.0

;-----------------------Dain------------------------

#define M_DAIN_BUILDCOST					2500
#define M_DAIN_BUILDTIME					30
#define M_DAIN_HEALTH					3000

#define	M_DAIN_LVL1_EXP_AWARD 				35
#define	M_DAIN_LVL2_EXP_AWARD 				40
#define	M_DAIN_LVL3_EXP_AWARD 				45
#define	M_DAIN_LVL4_EXP_AWARD 				50
#define	M_DAIN_LVL5_EXP_AWARD 				60
#define	M_DAIN_LVL6_EXP_AWARD 				75
#define	M_DAIN_LVL7_EXP_AWARD 				90
#define	M_DAIN_LVL8_EXP_AWARD 				105
#define	M_DAIN_LVL9_EXP_AWARD 				125
#define	M_DAIN_LVL10_EXP_AWARD 				150

#define	M_DAIN_LVL2_EXP_NEEDED 				50 	; 200 
#define	M_DAIN_LVL3_EXP_NEEDED 				100 	; 400 
#define	M_DAIN_LVL4_EXP_NEEDED 				200 	; 600 
#define	M_DAIN_LVL5_EXP_NEEDED 				300 	; 800 
#define	M_DAIN_LVL6_EXP_NEEDED 				500 	; 1000 
#define	M_DAIN_LVL7_EXP_NEEDED 				700 	; 1200 
#define	M_DAIN_LVL8_EXP_NEEDED 				900 	; 1400 
#define	M_DAIN_LVL9_EXP_NEEDED 				1100 	; 1600
#define	M_DAIN_LVL10_EXP_NEEDED 				1500 	; 2000

#define M_DAIN_PREATTACKDELAY 				433
#define M_DAIN_DELAYBETWEENSHOTS 				600
#define M_DAIN_FIRINGDURATION 				600
#define	M_DAIN_DAMAGE					300
#define	M_DAIN_SUMMON_TIMEOUT				120000

#define M_DAIN_MIGHTYRAGE_EFFECT_RADIUS			100

;-------------------Captain of Dale-------------------

#define M_CAPTAINOFDALE_BUILDCOST				2000
#define M_CAPTAINOFDALE_BUILDTIME				30
#define M_CAPTAINOFDALE_HEALTH				2000

#define	M_CAPTAINOFDALE_LVL1_EXP_AWARD 			35
#define	M_CAPTAINOFDALE_LVL2_EXP_AWARD 			40
#define	M_CAPTAINOFDALE_LVL3_EXP_AWARD 			45
#define	M_CAPTAINOFDALE_LVL4_EXP_AWARD 			50
#define	M_CAPTAINOFDALE_LVL5_EXP_AWARD 			60
#define	M_CAPTAINOFDALE_LVL6_EXP_AWARD 			75
#define	M_CAPTAINOFDALE_LVL7_EXP_AWARD 			90
#define	M_CAPTAINOFDALE_LVL8_EXP_AWARD 			105
#define	M_CAPTAINOFDALE_LVL9_EXP_AWARD 			125
#define	M_CAPTAINOFDALE_LVL10_EXP_AWARD 			150

#define	M_CAPTAINOFDALE_LVL2_EXP_NEEDED 			50 	; 200 
#define	M_CAPTAINOFDALE_LVL3_EXP_NEEDED 			100 	; 400 
#define	M_CAPTAINOFDALE_LVL4_EXP_NEEDED 			200 	; 600 
#define	M_CAPTAINOFDALE_LVL5_EXP_NEEDED 			300 	; 800 
#define	M_CAPTAINOFDALE_LVL6_EXP_NEEDED 			500 	; 1000 
#define	M_CAPTAINOFDALE_LVL7_EXP_NEEDED 			700 	; 1200 
#define	M_CAPTAINOFDALE_LVL8_EXP_NEEDED 			900 	; 1400 
#define	M_CAPTAINOFDALE_LVL9_EXP_NEEDED 			1100 	; 1600
#define	M_CAPTAINOFDALE_LVL10_EXP_NEEDED 			1500 	; 2000

#define M_CAPTAINOFDALE_PREATTACKDELAY 			433
#define M_CAPTAINOFDALE_DELAYBETWEENSHOTS 		600
#define M_CAPTAINOFDALE_FIRINGDURATION 			600
#define	M_CAPTAINOFDALE_DAMAGE				300
#define	M_CAPTAINOFDALE_SUMMON_TIMEOUT			120000
#define	M_CAPTAINOFDALE_SLAM_DAMAGE			600
#define	M_CAPTAINOFDALE_BEASTSLAYERDAMAGE			300



#define M_CAPTAINOFDALE_MIGHTYRAGE_EFFECT_RADIUS		100

;-----------------------Galadriel--------------------

#define M_GALADRIEL_BUILDCOST				10000
#define M_GALADRIEL_BUILDTIME				300
#define M_GALADRIEL_HEALTH				5000
#define M_GALADRIEL_DAMAGE				1000


;------------------------Legolas----------------------

#define M_LEGOLAS_BUILDCOST				3000
#define M_LEGOLAS_BUILDTIME				30
#define M_LEGOLAS_HEALTH					2000

#define	M_LEGOLAS_LVL1_EXP_AWARD 				35
#define	M_LEGOLAS_LVL2_EXP_AWARD 				40
#define	M_LEGOLAS_LVL3_EXP_AWARD 				45
#define	M_LEGOLAS_LVL4_EXP_AWARD 				50
#define	M_LEGOLAS_LVL5_EXP_AWARD 				60
#define	M_LEGOLAS_LVL6_EXP_AWARD 				75
#define	M_LEGOLAS_LVL7_EXP_AWARD 				90
#define	M_LEGOLAS_LVL8_EXP_AWARD 				105
#define	M_LEGOLAS_LVL9_EXP_AWARD 				125
#define	M_LEGOLAS_LVL10_EXP_AWARD 			150

#define	M_LEGOLAS_LVL2_EXP_NEEDED 			50 	; 200 
#define	M_LEGOLAS_LVL3_EXP_NEEDED 			100 	; 400 
#define	M_LEGOLAS_LVL4_EXP_NEEDED 			200 	; 600 
#define	M_LEGOLAS_LVL5_EXP_NEEDED 			300 	; 800 
#define	M_LEGOLAS_LVL6_EXP_NEEDED 			500 	; 1000 
#define	M_LEGOLAS_LVL7_EXP_NEEDED 			700 	; 1200 
#define	M_LEGOLAS_LVL8_EXP_NEEDED 			900 	; 1400 
#define	M_LEGOLAS_LVL9_EXP_NEEDED 			1100 	; 1600
#define	M_LEGOLAS_LVL10_EXP_NEEDED 			1500 	; 2000

#define M_LEGOLAS_PREATTACKDELAY 				800 
#define M_LEGOLAS_DELAYBETWEENSHOTS 			0 
#define M_LEGOLAS_FIRINGDURATION 				0
#define M_LEGOLAS_RELOADTIME_MIN				1000
#define M_LEGOLAS_RELOADTIME_MAX				1000
#define	M_LEGOLAS_BOW_RANGE				400
#define	M_LEGOLAS_BOW_DAMAGE				150

#define	M_LEGOLAS_HAWKSTRIKE_DAMAGE			400
#define	M_LEGOLAS_HAWKSTRIKE_RANGE			485

#define	M_LEGOLAS_ARROWSTORM_DAMAGE			200
#define	M_LEGOLAS_ARROWSTORM_RANGE			400

#define M_LEGOLAS_KNIFE_PREATTACKDELAY 			500
#define M_LEGOLAS_KNIFE_DELAYBETWEENSHOTS 		1
#define M_LEGOLAS_KNIFE_FIRINGDURATION 			500
#define	M_LEGOLAS_KNIFE_DAMAGE				200

;-----------------------Thranduil---------------------

#define M_THRANDUIL_BUILDCOST				2500
#define M_THRANDUIL_BUILDTIME				30
#define M_THRANDUIL_HEALTH				2000

#define	M_THRANDUIL_LVL1_EXP_AWARD 			35
#define	M_THRANDUIL_LVL2_EXP_AWARD 			40
#define	M_THRANDUIL_LVL3_EXP_AWARD 			45
#define	M_THRANDUIL_LVL4_EXP_AWARD 			50
#define	M_THRANDUIL_LVL5_EXP_AWARD 			60
#define	M_THRANDUIL_LVL6_EXP_AWARD 			75
#define	M_THRANDUIL_LVL7_EXP_AWARD 			90
#define	M_THRANDUIL_LVL8_EXP_AWARD 			105
#define	M_THRANDUIL_LVL9_EXP_AWARD 			125
#define	M_THRANDUIL_LVL10_EXP_AWARD 			150

#define	M_THRANDUIL_LVL2_EXP_NEEDED 			50 	; 200 
#define	M_THRANDUIL_LVL3_EXP_NEEDED 			100 	; 400 
#define	M_THRANDUIL_LVL4_EXP_NEEDED 			200 	; 600 
#define	M_THRANDUIL_LVL5_EXP_NEEDED 			300 	; 800 
#define	M_THRANDUIL_LVL6_EXP_NEEDED 			500 	; 1000 
#define	M_THRANDUIL_LVL7_EXP_NEEDED 			700 	; 1200 
#define	M_THRANDUIL_LVL8_EXP_NEEDED 			900 	; 1400 
#define	M_THRANDUIL_LVL9_EXP_NEEDED 			1100 	; 1600
#define	M_THRANDUIL_LVL10_EXP_NEEDED 			1500 	; 2000

#define M_THRANDUIL_PREATTACKDELAY 			800 
#define M_THRANDUIL_DELAYBETWEENSHOTS 			0 
#define M_THRANDUIL_FIRINGDURATION 			0
#define M_THRANDUIL_RELOADTIME_MIN			1000
#define M_THRANDUIL_RELOADTIME_MAX			1000
#define	M_THRANDUIL_BOW_RANGE				400
#define M_THRANDUIL_BOW_RANGE_DEADEYE			500
#define	M_THRANDUIL_BOW_DAMAGE				100
#define	M_THRANDUIL_BOW_DAMAGE_DEADEYE_MAGICAL		300


#define M_THRANDUIL_KNIFE_PREATTACKDELAY 			500
#define M_THRANDUIL_KNIFE_DELAYBETWEENSHOTS 		1
#define M_THRANDUIL_KNIFE_FIRINGDURATION 			500
#define	M_THRANDUIL_KNIFE_DAMAGE				40

#define M_THRANDUIL_THORN_DAMAGE				2000
#define M_THRANDUIL_THORN_FIRE_DAMAGE	        	1000
#define M_THRANDUIL_THORN_MAGIC_DAMAGE        		1000
#define M_THRANDUIL_THORN_RELOADTIME_MIN			1500
#define M_THRANDUIL_THORN_RELOADTIME_MAX			2000

#define M_THRANDUIL_MOVEUNSEEN_EFFECT_RADIUS		50

;-----------------------Haldir-------------------------

#define M_HALDIR_BUILDCOST				2000
#define M_HALDIR_BUILDTIME				30
#define M_HALDIR_HEALTH					2000

#define	M_HALDIR_LVL1_EXP_AWARD 				35
#define	M_HALDIR_LVL2_EXP_AWARD 				40
#define	M_HALDIR_LVL3_EXP_AWARD 				45
#define	M_HALDIR_LVL4_EXP_AWARD 				50
#define	M_HALDIR_LVL5_EXP_AWARD 				60
#define	M_HALDIR_LVL6_EXP_AWARD 				75
#define	M_HALDIR_LVL7_EXP_AWARD 				90
#define	M_HALDIR_LVL8_EXP_AWARD 				105
#define	M_HALDIR_LVL9_EXP_AWARD 				125
#define	M_HALDIR_LVL10_EXP_AWARD 				150

#define	M_HALDIR_LVL2_EXP_NEEDED 				50 	; 200 
#define	M_HALDIR_LVL3_EXP_NEEDED 				100 	; 400 
#define	M_HALDIR_LVL4_EXP_NEEDED 				200 	; 600 
#define	M_HALDIR_LVL5_EXP_NEEDED 				300 	; 800 
#define	M_HALDIR_LVL6_EXP_NEEDED 				400 	; 1000 
#define	M_HALDIR_LVL7_EXP_NEEDED 				500 	; 1200 
#define	M_HALDIR_LVL8_EXP_NEEDED 				700 	; 1400 
#define	M_HALDIR_LVL9_EXP_NEEDED 				900 	; 1600
#define	M_HALDIR_LVL10_EXP_NEEDED 			1100 	; 2000

#define M_HALDIR_PREATTACKDELAY				800
#define M_HALDIR_DELAYBETWEENSHOTS			0
#define M_HALDIR_FIRINGDURATION				0
#define M_HALDIR_RELOADTIME_MIN				2000
#define M_HALDIR_RELOADTIME_MAX				2000
#define M_HALDIR_BOW_RANGE				400
#define	M_HALDIR_BOW_DAMAGE				100
#define M_HALDIR_GOLDENARROW_DAMAGE			200

#define M_HALDIR_SWORD_PREATTACKDELAY 			500
#define M_HALDIR_SWORD_DELAYBETWEENSHOTS 			1
#define M_HALDIR_SWORD_FIRINGDURATION 			500
#define	M_HALDIR_SWORD_DAMAGE				120

#define M_SPELL_HALDIR_GOLDENARROW_DAYLIGHT_DURATION_MS	10000


;--------------------Glorfindel------------------------

#define M_GLORFINDEL_SWORD_DELAYBETWEENSHOTS		1
#define M_GLORFINDEL_SWORD_PREATTACKDELAY			500
#define M_GLORFINDEL_SWORD_FIRINGDURATION 		500
#define	M_GLORFINDEL_SWORD_DAMAGE				150

#define M_SPELL_GLORFINDEL_STARLIGHT_DURATION_MS		30000


;-----------------------Gloin-------------------------

#define M_GLOIN_BUILDCOST					2000
#define M_GLOIN_BUILDTIME					30
#define M_GLOIN_HEALTH					3000

#define M_GLOIN_PREATTACKDELAY 				433
#define M_GLOIN_DELAYBETWEENSHOTS 			600
#define M_GLOIN_FIRINGDURATION 				600

#define	M_GLOIN_DAMAGE					300
#define M_GLOIN_SLAM_DAMAGE				500
#define M_GLOIN_SLAM_DAMAGE_STRUCTURAL			500	

#define M_GLOIN_SHAKEFOUNDATION_DAMAGE			2000

#define	M_GLOIN_LVL1_EXP_AWARD 				35
#define	M_GLOIN_LVL2_EXP_AWARD 				40
#define	M_GLOIN_LVL3_EXP_AWARD 				45
#define	M_GLOIN_LVL4_EXP_AWARD 				50
#define	M_GLOIN_LVL5_EXP_AWARD 				60
#define	M_GLOIN_LVL6_EXP_AWARD 				75
#define	M_GLOIN_LVL7_EXP_AWARD 				90
#define	M_GLOIN_LVL8_EXP_AWARD 				105
#define	M_GLOIN_LVL9_EXP_AWARD 				125
#define	M_GLOIN_LVL10_EXP_AWARD 				150

#define	M_GLOIN_LVL2_EXP_NEEDED 				50 ;200 
#define	M_GLOIN_LVL3_EXP_NEEDED 				100 ;400 
#define	M_GLOIN_LVL4_EXP_NEEDED 				200 ;600 
#define	M_GLOIN_LVL5_EXP_NEEDED 				300 ;800 
#define	M_GLOIN_LVL6_EXP_NEEDED 				400 ;1000 
#define	M_GLOIN_LVL7_EXP_NEEDED 				500 ;1200 
#define	M_GLOIN_LVL8_EXP_NEEDED 				700 ;1400 
#define	M_GLOIN_LVL9_EXP_NEEDED 				900 ;1600
#define	M_GLOIN_LVL10_EXP_NEEDED 				1100 ;2000

#define M_GLOIN_SMASH_WEAPON_RADIUS			250.0


;---------------------Gandalf the Grey----------------

#define M_GANDALF_THE_GREY_BUILDCOST			3000
#define M_GANDALF_THE_GREY_BUILDTIME			45
#define M_GANDALF_THE_GREY_HEALTH				3000

#define	M_GANDALF_LVL1_EXP_AWARD 				35
#define	M_GANDALF_LVL2_EXP_AWARD 				40
#define	M_GANDALF_LVL3_EXP_AWARD 				45
#define	M_GANDALF_LVL4_EXP_AWARD 				50
#define	M_GANDALF_LVL5_EXP_AWARD 				60
#define	M_GANDALF_LVL6_EXP_AWARD 				75
#define	M_GANDALF_LVL7_EXP_AWARD 				90
#define	M_GANDALF_LVL8_EXP_AWARD 				105
#define	M_GANDALF_LVL9_EXP_AWARD 				125
#define	M_GANDALF_LVL10_EXP_AWARD 			150

;Gandalf requires more exp becaues of his AOE powers
#define	M_GANDALF_LVL2_EXP_NEEDED 			100 	; 300 
#define	M_GANDALF_LVL3_EXP_NEEDED 			200 	; 600 
#define	M_GANDALF_LVL4_EXP_NEEDED 			300 	; 1000 
#define	M_GANDALF_LVL5_EXP_NEEDED 			500 	; 1400 
#define	M_GANDALF_LVL6_EXP_NEEDED 			700 	; 1800 
#define	M_GANDALF_LVL7_EXP_NEEDED 			900 	; 2200 
#define	M_GANDALF_LVL8_EXP_NEEDED 			1100 	; 2600 
#define	M_GANDALF_LVL9_EXP_NEEDED 			1500 	; 3000 
#define	M_GANDALF_LVL10_EXP_NEEDED 			2000 	; 4000 

#define M_GANDALF_THE_GREY_PREATTACKDELAY 		633
#define M_GANDALF_THE_GREY_DELAYBETWEENSHOTS 		867
#define M_GANDALF_THE_GREY_FIRINGDURATION 		900 	; 867
#define	M_GANDALF_THE_GREY_DAMAGE				100

#define	M_GANDALF_FORCE_ATTACK_DAMAGE			500
#define	M_GANDALF_FORCE_ATTACK_RANGE			100

#define	M_GANDALF_WORD_OF_POWER_DAMAGE			500
#define	M_GANDALF_WORD_OF_POWER_RANGE			120

#define	M_GANDALF_LIGHTNING_DAMAGE			300
#define	M_GANDALF_LIGHTNING_DAMAGE_FLAME			60
#define	M_GANDALF_LIGHTNING_RANGE				300

#define	M_GANDALF_PHASER_DAMAGE				3000
#define	M_GANDALF_PHASER_RANGE				200
#define	M_GANDALF_PHASER_CAST_RANGE			180 	; need to be a little less that the phaser range.

;---------------------Gandalf the White----------------

#define M_GANDALF_THE_WHITE_BUILDCOST			3000
#define M_GANDALF_THE_WHITE_BUILDTIME			45
#define M_GANDALF_THE_WHITE_HEALTH			2400


;-----------------------Boromir------------------------

#define M_BOROMIR_BUILDCOST				1250
#define M_BOROMIR_BUILDTIME				30
#define M_BOROMIR_HEALTH					2800

#define	M_BOROMIR_LVL1_EXP_AWARD 				20
#define	M_BOROMIR_LVL2_EXP_AWARD 				25
#define	M_BOROMIR_LVL3_EXP_AWARD 				30
#define	M_BOROMIR_LVL4_EXP_AWARD 				35
#define	M_BOROMIR_LVL5_EXP_AWARD 				40
#define	M_BOROMIR_LVL6_EXP_AWARD 				45
#define	M_BOROMIR_LVL7_EXP_AWARD 				50
#define	M_BOROMIR_LVL8_EXP_AWARD 				60
#define	M_BOROMIR_LVL9_EXP_AWARD 				75
#define	M_BOROMIR_LVL10_EXP_AWARD 			100

#define	M_BOROMIR_LVL2_EXP_NEEDED 			50 	; 100
#define	M_BOROMIR_LVL3_EXP_NEEDED 			100 	; 200
#define	M_BOROMIR_LVL4_EXP_NEEDED 			200 	; 400
#define	M_BOROMIR_LVL5_EXP_NEEDED 			300 	; 600
#define	M_BOROMIR_LVL6_EXP_NEEDED 			400 	; 800
#define	M_BOROMIR_LVL7_EXP_NEEDED 			500 	; 1000
#define	M_BOROMIR_LVL8_EXP_NEEDED 			700 	; 1200
#define	M_BOROMIR_LVL9_EXP_NEEDED 			900 	; 1600
#define	M_BOROMIR_LVL10_EXP_NEEDED 			1100 	; 2000

#define M_BOROMIR_PREATTACKDELAY 				733
#define M_BOROMIR_DELAYBETWEENSHOTS 			766
#define M_BOROMIR_FIRINGDURATION 				866
#define	M_BOROMIR_DAMAGE					300

;-----------------------Merry-------------------------

#define M_MERRY_HEALTH					400

;-----------------------Hobbit-----------------------

#define M_HOBBIT_HEALTH					400
#define M_HOBBIT_HEALTH_DAMAGED				200
#define M_HOBBIT_HEALTH_RECOVERY_TIME			10000
#define	M_HOBBIT_VISION_RANGE 				175
#define M_HOBBIT_BUILDCOST				50
#define M_HOBBIT_BUILDTIME				20

#define	M_HOBBIT_LVL1_EXP_AWARD 				10
#define	M_HOBBIT_LVL2_EXP_AWARD 				15
#define	M_HOBBIT_LVL3_EXP_AWARD 				20
#define	M_HOBBIT_LVL4_EXP_AWARD 				25
#define	M_HOBBIT_LVL5_EXP_AWARD 				30
#define	M_HOBBIT_LVL6_EXP_AWARD 				35
#define	M_HOBBIT_LVL7_EXP_AWARD 				40
#define	M_HOBBIT_LVL8_EXP_AWARD 				45
#define	M_HOBBIT_LVL9_EXP_AWARD 				50
#define	M_HOBBIT_LVL10_EXP_AWARD 				60

#define	M_HOBBIT_LVL2_EXP_NEEDED 				25 	; 100 
#define	M_HOBBIT_LVL3_EXP_NEEDED 				50 	; 200 
#define	M_HOBBIT_LVL4_EXP_NEEDED 				75 	; 300
#define	M_HOBBIT_LVL5_EXP_NEEDED 				100 	; 400
#define	M_HOBBIT_LVL6_EXP_NEEDED 				125 	; 600
#define	M_HOBBIT_LVL7_EXP_NEEDED 				150 	; 800
#define	M_HOBBIT_LVL8_EXP_NEEDED 				175 	; 1000
#define	M_HOBBIT_LVL9_EXP_NEEDED 				200 	; 1200
#define	M_HOBBIT_LVL10_EXP_NEEDED 			225 	; 1400

#define M_HOBBIT_SWORD_PREATTACKDELAY 			567
#define M_HOBBIT_SWORD_DELAYBETWEENSHOTS 			633
#define M_HOBBIT_SWORD_FIRINGDURATION 			833
#define	M_HOBBIT_SWORD_DAMAGE				60

#define	M_HOBBIT_ROCK_DAMAGE				200
#define	M_HOBBIT_ROCK_RANGE				200

#define M_HOBBIT_BOUNTY_VALUE       			5

;-----------------------Pippin-----------------------

#define M_PIPPIN_HEALTH					400

;-----------------------Frodo------------------------

#define M_FRODO_HEALTH					800

#define M_FRODO_PREATTACKDELAY 				841
#define M_FRODO_DELAYBETWEENSHOTS 			826
#define M_FRODO_FIRINGDURATION 				826
#define	M_FRODO_DAMAGE					60

#define	M_FRODO_BUILDTIME					15
#define	M_FRODO_BUILDCOST					200

;-----------------------Sam-------------------------
#define M_SAM_HEALTH					600

#define M_SAM_PAN_PREATTACKDELAY 				800
#define M_SAM_PAN_DELAYBETWEENSHOTS 			800
#define M_SAM_PAN_FIRINGDURATION 				800
#define	M_SAM_PAN_DAMAGE					100

#define	M_SAM_BUILDTIME					15
#define	M_SAM_BUILDCOST					200

;---------------- CAH --------------------------------	

#define M_CAH_BUILDCOST					500
#define M_CAH_BUILDTIME					30
			

;-----------------------Faramir------------------------

#define M_FARAMIR_BUILDCOST				1200
#define M_FARAMIR_BUILDTIME				30
#define M_FARAMIR_HEALTH					2000

#define	M_FARAMIR_LVL1_EXP_AWARD 				20
#define	M_FARAMIR_LVL2_EXP_AWARD 				25
#define	M_FARAMIR_LVL3_EXP_AWARD 				30
#define	M_FARAMIR_LVL4_EXP_AWARD 				35
#define	M_FARAMIR_LVL5_EXP_AWARD 				40
#define	M_FARAMIR_LVL6_EXP_AWARD 				45
#define	M_FARAMIR_LVL7_EXP_AWARD 				50
#define	M_FARAMIR_LVL8_EXP_AWARD 				60
#define	M_FARAMIR_LVL9_EXP_AWARD 				75
#define	M_FARAMIR_LVL10_EXP_AWARD 			100

#define	M_FARAMIR_LVL2_EXP_NEEDED 			50 	; 100
#define	M_FARAMIR_LVL3_EXP_NEEDED 			100 	; 200
#define	M_FARAMIR_LVL4_EXP_NEEDED 			150	; 400
#define	M_FARAMIR_LVL5_EXP_NEEDED 			200 	; 600
#define	M_FARAMIR_LVL6_EXP_NEEDED 			250 	; 800
#define	M_FARAMIR_LVL7_EXP_NEEDED 			300 	; 1000
#define	M_FARAMIR_LVL8_EXP_NEEDED 			350 	; 1200
#define	M_FARAMIR_LVL9_EXP_NEEDED 			400 	; 1600
#define	M_FARAMIR_LVL10_EXP_NEEDED 			500 	; 2000

;700 + 1500 = 2200
#define M_FARAMIR_PREATTACKDELAY     			800
#define M_FARAMIR_DELAYBETWEENSHOTS    			1400
#define M_FARAMIR_FIRINGDURATION     			1200

#define M_FARAMIR_BOW_PREATTACKDELAY 			1170
#define M_FARAMIR_BOW_DELAYBETWEENSHOTS 			0
#define M_FARAMIR_BOW_FIRINGDURATION 			0
#define M_FARAMIR_BOW_RELOADTIME_MIN			1500
#define M_FARAMIR_BOW_RELOADTIME_MAX			2000

#define	M_FARAMIR_DAMAGE					200
#define	M_FARAMIR_BOW_DAMAGE				150
#define	M_FARAMIR_BOW_RANGE				350

#define	M_FARAMIR_WOUNDING_ARROW_DAMAGE			300
#define	M_FARAMIR_WOUNDING_ARROW_RANGE			350


;-----------------------Damrod------------------------

#define M_DAMROD_BUILDCOST				1200
#define M_DAMROD_BUILDTIME				30
#define M_DAMROD_HEALTH					8000

#define	M_DAMROD_LVL1_EXP_AWARD 				20
#define	M_DAMROD_LVL2_EXP_AWARD 				25
#define	M_DAMROD_LVL3_EXP_AWARD 				30
#define	M_DAMROD_LVL4_EXP_AWARD 				35
#define	M_DAMROD_LVL5_EXP_AWARD 				40
#define	M_DAMROD_LVL6_EXP_AWARD 				45
#define	M_DAMROD_LVL7_EXP_AWARD 				50
#define	M_DAMROD_LVL8_EXP_AWARD 				60
#define	M_DAMROD_LVL9_EXP_AWARD 				75
#define	M_DAMROD_LVL10_EXP_AWARD 				100

#define	M_DAMROD_LVL2_EXP_NEEDED 				50 	; 60
#define	M_DAMROD_LVL3_EXP_NEEDED 				100 	; 200
#define	M_DAMROD_LVL4_EXP_NEEDED 				200 	; 400
#define	M_DAMROD_LVL5_EXP_NEEDED 				300 	; 600
#define	M_DAMROD_LVL6_EXP_NEEDED 				500 	; 800
#define	M_DAMROD_LVL7_EXP_NEEDED 				700 	; 1000
#define	M_DAMROD_LVL8_EXP_NEEDED 				900	; 1200
#define	M_DAMROD_LVL9_EXP_NEEDED 				1100 	; 1600
#define	M_DAMROD_LVL10_EXP_NEEDED 			1500 	; 2000

#define	M_DAMROD_DAMAGE					50
#define	M_DAMROD_BOW_DAMAGE				30
#define	M_DAMROD_BOW_RANGE				350

#define	M_DAMROD_DEADLYSHOT_RANGE				400


;-----------------------Gothmog-----------------------

#define M_GOTHMOG_BUILDCOST				1200
#define M_GOTHMOG_BUILDTIME				30
#define M_GOTHMOG_HEALTH					2400

#define	M_GOTHMOG_LVL1_EXP_AWARD 				20
#define	M_GOTHMOG_LVL2_EXP_AWARD 				25
#define	M_GOTHMOG_LVL3_EXP_AWARD 				30
#define	M_GOTHMOG_LVL4_EXP_AWARD 				35
#define	M_GOTHMOG_LVL5_EXP_AWARD 				40
#define	M_GOTHMOG_LVL6_EXP_AWARD 				45
#define	M_GOTHMOG_LVL7_EXP_AWARD 				50
#define	M_GOTHMOG_LVL8_EXP_AWARD 				60
#define	M_GOTHMOG_LVL9_EXP_AWARD 				75
#define	M_GOTHMOG_LVL10_EXP_AWARD 			100

#define	M_GOTHMOG_LVL2_EXP_NEEDED 			50 	; 60
#define	M_GOTHMOG_LVL3_EXP_NEEDED 			100 	; 200
#define	M_GOTHMOG_LVL4_EXP_NEEDED 			200 	; 400
#define	M_GOTHMOG_LVL5_EXP_NEEDED 			300 	; 600
#define	M_GOTHMOG_LVL6_EXP_NEEDED 			500 	; 800
#define	M_GOTHMOG_LVL7_EXP_NEEDED 			700 	; 1000
#define	M_GOTHMOG_LVL8_EXP_NEEDED 			900 	; 1200
#define	M_GOTHMOG_LVL9_EXP_NEEDED 			1100 	; 1600
#define	M_GOTHMOG_LVL10_EXP_NEEDED 			1500 	; 2000

#define M_GOTHMOG_PREATTACKDELAY 				1000
#define M_GOTHMOG_DELAYBETWEENSHOTS 			1500
#define M_GOTHMOG_FIRINGDURATION 				1500
#define	M_GOTHMOG_DAMAGE					60
#define M_GOTHMOG_RANGE_DAMAGE				40


;-----------------------Lurtz-------------------------

#define M_LURTZ_BUILDCOST					1200
#define M_LURTZ_BUILDTIME					30
#define M_LURTZ_HEALTH					2400

#define	M_LURTZ_LVL1_EXP_AWARD 				20
#define	M_LURTZ_LVL2_EXP_AWARD 				25
#define	M_LURTZ_LVL3_EXP_AWARD 				30
#define	M_LURTZ_LVL4_EXP_AWARD 				35
#define	M_LURTZ_LVL5_EXP_AWARD 				40
#define	M_LURTZ_LVL6_EXP_AWARD 				45
#define	M_LURTZ_LVL7_EXP_AWARD 				50
#define	M_LURTZ_LVL8_EXP_AWARD 				60
#define	M_LURTZ_LVL9_EXP_AWARD 				75
#define	M_LURTZ_LVL10_EXP_AWARD 				100

#define	M_LURTZ_LVL2_EXP_NEEDED 				50 	; 60
#define	M_LURTZ_LVL3_EXP_NEEDED 				100 	; 200
#define	M_LURTZ_LVL4_EXP_NEEDED 				200 	; 400
#define	M_LURTZ_LVL5_EXP_NEEDED 				300 	; 600
#define	M_LURTZ_LVL6_EXP_NEEDED 				400 	; 800
#define	M_LURTZ_LVL7_EXP_NEEDED 				500 	; 1000
#define	M_LURTZ_LVL8_EXP_NEEDED 				600 	; 1200
#define	M_LURTZ_LVL9_EXP_NEEDED 				700 	; 1600
#define	M_LURTZ_LVL10_EXP_NEEDED 				800 	; 2000

#define M_LURTZ_PREATTACKDELAY 				1000
#define M_LURTZ_DELAYBETWEENSHOTS 			1500
#define M_LURTZ_FIRINGDURATION 				1500
#define	M_LURTZ_DAMAGE					200

#define M_LURTZ_CARNAGE_PREATTACKDELAY 			367
#define M_LURTZ_CARNAGE_DELAYBETWEENSHOTS 		1200
#define M_LURTZ_CARNAGE_FIRINGDURATION 			833
#define M_LURTZ_CARNAGE_DAMAGE				300

#define M_LURTZ_BOW_PREATTACKDELAY			1500;
#define M_LURTZ_BOW_DELAYBETWEENSHOTS			0
#define M_LURTZ_BOW_FIRINGDURATION			0
#define M_LURTZ_BOW_RELOADTIME_MIN			1467
#define M_LURTZ_BOW_RELOADTIME_MAX			1667
#define	M_LURTZ_BOW_RANGE					350
#define M_LURTZ_BOW_DAMAGE				150

#define	M_LURTZ_BOW_STUN_RANGE				350
#define M_LURTZ_BOW_STUN_DAMAGE				200 ;400

#define M_CRIPPLE_STRIKE_OBJECT_FILTER			NONE +HERO -MordorBalrog -GondorGwaihir -GondorGwaihir_Summoned -MordorFellBeast -MordorWitchKingOnFellBeast -RohanTreeBerd -RohanEntFir -RohanEntFir_Summoned -RohanEntBirch_Summoned -TomBombadil -TomBombadil_Summoned -Drogoth -ElvenFortressEagle
#define M_MORGULBLADE_OBJECT_FILTER			ANY +HERO +INFANTRY +CAVALRY -MONSTER -MACHINE -STRUCTURE -MordorBalrog -GondorGwaihir -GondorGwaihir_Summoned -MordorFellBeast -MordorWitchKingOnFellBeast -RohanTreeBerd -RohanEntFir -RohanEntFir_Summoned -RohanEntBirch_Summoned -TomBombadil -TomBombadil_Summoned -Drogoth -ElvenFortressEagle ENEMIES

#define M_LURTZ_CRIPPLE_RANGE_ABILTY_START		320
#define M_LURTZ_CRIPPLE_RANGE_WEAPON			350 ;// this has to be bigger than M_LURTZ_CRIPPLE_RANGE_ABILTY_START


;-----------------------Sharku-------------------------

#define M_SHARKU_BUILDCOST				1200
#define M_SHARKU_BUILDTIME				30
#define M_SHARKU_HEALTH					2400

#define	M_SHARKU_LVL1_EXP_AWARD 				20
#define	M_SHARKU_LVL2_EXP_AWARD 				25
#define	M_SHARKU_LVL3_EXP_AWARD 				30
#define	M_SHARKU_LVL4_EXP_AWARD 				35
#define	M_SHARKU_LVL5_EXP_AWARD 				40
#define	M_SHARKU_LVL6_EXP_AWARD 				45
#define	M_SHARKU_LVL7_EXP_AWARD 				50
#define	M_SHARKU_LVL8_EXP_AWARD 				60
#define	M_SHARKU_LVL9_EXP_AWARD 				75
#define	M_SHARKU_LVL10_EXP_AWARD 				100

#define	M_SHARKU_LVL2_EXP_NEEDED 				50 	; 60
#define	M_SHARKU_LVL3_EXP_NEEDED 				100 	; 200
#define	M_SHARKU_LVL4_EXP_NEEDED 				150 	; 400
#define	M_SHARKU_LVL5_EXP_NEEDED 				200 	; 600
#define	M_SHARKU_LVL6_EXP_NEEDED 				250 	; 800
#define	M_SHARKU_LVL7_EXP_NEEDED 				300 	; 1000
#define	M_SHARKU_LVL8_EXP_NEEDED 				350 	; 1200
#define	M_SHARKU_LVL9_EXP_NEEDED 				400 	; 1600
#define	M_SHARKU_LVL10_EXP_NEEDED 			500 	; 2000

#define M_SHARKU_PREATTACKDELAY 				1000
#define M_SHARKU_DELAYBETWEENSHOTS 			1500
#define M_SHARKU_FIRINGDURATION 				1500
#define	M_SHARKU_DAMAGE					200	; originally 150


;-----------------------Saruman------------------------

#define M_SARUMAN_BUILDCOST				3000
#define M_SARUMAN_BUILDTIME				45
#define M_SARUMAN_HEALTH					3000

#define	M_SARUMAN_LVL1_EXP_AWARD 				35
#define	M_SARUMAN_LVL2_EXP_AWARD 				40
#define	M_SARUMAN_LVL3_EXP_AWARD 				45
#define	M_SARUMAN_LVL4_EXP_AWARD 				50
#define	M_SARUMAN_LVL5_EXP_AWARD 				60
#define	M_SARUMAN_LVL6_EXP_AWARD 				75
#define	M_SARUMAN_LVL7_EXP_AWARD 				90
#define	M_SARUMAN_LVL8_EXP_AWARD 				105
#define	M_SARUMAN_LVL9_EXP_AWARD 				125
#define	M_SARUMAN_LVL10_EXP_AWARD 			150

#define	M_SARUMAN_LVL2_EXP_NEEDED 			100 	; 60
#define	M_SARUMAN_LVL3_EXP_NEEDED 			200 	; 200
#define	M_SARUMAN_LVL4_EXP_NEEDED 			300 	; 400
#define	M_SARUMAN_LVL5_EXP_NEEDED 			500 	; 600
#define	M_SARUMAN_LVL6_EXP_NEEDED 			700 	; 800
#define	M_SARUMAN_LVL7_EXP_NEEDED 			900 	; 1000
#define	M_SARUMAN_LVL8_EXP_NEEDED 			1100 	; 1200
#define	M_SARUMAN_LVL9_EXP_NEEDED 			1500 	; 1600
#define	M_SARUMAN_LVL10_EXP_NEEDED 			2000 	; 2000

#define M_SARUMAN_PREATTACKDELAY 				1100
#define M_SARUMAN_DELAYBETWEENSHOTS 			1000
#define M_SARUMAN_FIRINGDURATION 				1566
#define	M_SARUMAN_DAMAGE					100

#define	M_SARUMAN_FORCE_ATTACK_DAMAGE			500

#define	M_SARUMAN_FIREBALL_DAMAGE				400
#define	M_SARUMAN_FIREBALL_DAMAGE_SIEGE			400
#define M_SARUMAN_FIREBALL_RADIUS				30.0
#define M_SARUMAN_FIREBALL_RANGE				250
#define M_SARUMAN_FIREBALL_RELOAD_TIME			60000

#define	M_SARUMAN_LIGHTNING_DAMAGE			1000
#define	M_SARUMAN_LIGHTNING_DAMAGE_FLAME		 	2000
#define	M_SARUMAN_LIGHTNING_RANGE			     	300
#define	M_SARUMAN_LIGHTNING_RADIUS		     	50


;----------------------Wormtongue----------------------

#define M_WORMTONGUE_BUILDCOST				800
#define M_WORMTONGUE_BUILDTIME				45		
#define	M_WORMTONGUE_DAMAGE				100
#define	M_WORMTONGUE_BACKSTAB_DAMAGE			200
#define M_WORMTONGUE_DELAYBETWEENSHOTS 			1000
#define M_WORMTONGUE_PREATTACKDELAY 			1100
#define M_WORMTONGUE_FIRINGDURATION 			1566
#define M_WORMTONGUE_HEALTH				2400	; originally 2000
#define M_WORMTONGUE_WEAPON_RANGE				30.0

#define	M_WORMTONGUE_LVL1_EXP_AWARD 			20
#define	M_WORMTONGUE_LVL2_EXP_AWARD 			25
#define	M_WORMTONGUE_LVL3_EXP_AWARD 			30
#define	M_WORMTONGUE_LVL4_EXP_AWARD 			35
#define	M_WORMTONGUE_LVL5_EXP_AWARD 			40
#define	M_WORMTONGUE_LVL6_EXP_AWARD 			45
#define	M_WORMTONGUE_LVL7_EXP_AWARD 			50
#define	M_WORMTONGUE_LVL8_EXP_AWARD 			60
#define	M_WORMTONGUE_LVL9_EXP_AWARD 			75
#define	M_WORMTONGUE_LVL10_EXP_AWARD 			100

#define	M_WORMTONGUE_LVL2_EXP_NEEDED 			50
#define	M_WORMTONGUE_LVL3_EXP_NEEDED 			100
#define	M_WORMTONGUE_LVL4_EXP_NEEDED 			150
#define	M_WORMTONGUE_LVL5_EXP_NEEDED 			200
#define	M_WORMTONGUE_LVL6_EXP_NEEDED 			250
#define	M_WORMTONGUE_LVL7_EXP_NEEDED 			300
#define	M_WORMTONGUE_LVL8_EXP_NEEDED 			350
#define	M_WORMTONGUE_LVL9_EXP_NEEDED 			400
#define	M_WORMTONGUE_LVL10_EXP_NEEDED 			500


;-----------------------Nazgul-------------------------

#define M_NAZGUL_BUILDCOST				3000
#define M_NAZGUL_BUILDTIME				60
#define M_NAZGUL_HEALTH					6000 	; 3500
#define M_NAZGUL_HEALTHDAMAGED				3000
#define M_NAZGUL_HEALTHRECOVERY_TIME			10000

#define	M_NAZGUL_PLOW_DAMAGE_INNER			500 
#define	M_NAZGUL_PLOW_DAMAGE_OUTER			250 
;ok so both hit a hero and claws do nothing.  

#define	M_NAZGUL_CLAW_DAMAGE				500

#define	M_NAZGUL_FLY_INTO_DAMAGE 				100

#define M_NAZGUL_GRAB_SPLASH_DAMAGE			240.0		
#define M_NAZGUL_GRAB_RADIUS_OF_DAMAGE			30.0		
#define M_NAZGUL_GRAB_AMOUNT_OF_SHOCK			20.0
#define M_NAZGUL_GRAB_RADIUS_OF_SHOCK			50.0
#define	M_NAZGUL_GRAB_ARC_OF_SHOCK			90.0	;0 to 360 how big is the arc of affect

#define	M_NAZGUL_LVL1_EXP_AWARD				35
#define	M_NAZGUL_LVL2_EXP_NEEDED 				50
#define	M_NAZGUL_LVL2_EXP_AWARD 				40
#define	M_NAZGUL_LVL3_EXP_NEEDED 				100
#define	M_NAZGUL_LVL3_EXP_AWARD 				45
#define	M_NAZGUL_LVL4_EXP_NEEDED 				200
#define	M_NAZGUL_LVL4_EXP_AWARD 				50
#define	M_NAZGUL_LVL5_EXP_NEEDED 				300
#define	M_NAZGUL_LVL5_EXP_AWARD 				60
#define	M_NAZGUL_LVL6_EXP_NEEDED 				500
#define	M_NAZGUL_LVL6_EXP_AWARD 				75
#define	M_NAZGUL_LVL7_EXP_NEEDED 				700
#define	M_NAZGUL_LVL7_EXP_AWARD 				90
#define	M_NAZGUL_LVL8_EXP_NEEDED 				900
#define	M_NAZGUL_LVL8_EXP_AWARD 				105
#define	M_NAZGUL_LVL9_EXP_NEEDED 				1100
#define	M_NAZGUL_LVL9_EXP_AWARD 				125
#define	M_NAZGUL_LVL10_EXP_NEEDED 			1500
#define	M_NAZGUL_LVL10_EXP_AWARD 				150


;-------------------WitchKing On FellBeast-------------

#define M_WITCHKING_ON_FELLBEAST_BUILDCOST		5000
#define M_WITCHKING_ON_FELLBEAST_BUILDTIME		60
#define M_WITCHKING_ON_FELLBEAST_HEALTH			8000
#define M_WITCHKING_COMMAND_POINTS			75

#define M_WITCHKING_SWORD_PREATTACKDELAY 			500
#define M_WITCHKING_DELAYBETWEENSHOTS 			700
#define M_WITCHKING_FIRINGDURATION 			700
#define	M_WITCHKING_DAMAGE				320

#define M_WITCHKING_MORGULBLADE_PREATTACKDELAY 		500
#define M_WITCHKING_MORGULBLADE_DELAYBETWEENSHOTS 	700
#define M_WITCHKING_MORGULBLADE_FIRINGDURATION 		700
#define	M_WITCHKING_MORGULBLADE_DAMAGE			200

#define M_WITCHKING_MACE_PREATTACKDELAY 			1250
#define M_WITCHKING_MACE_DELAYBETWEENSHOTS 		1000
#define M_WITCHKING_MACE_FIRINGDURATION 			1750
#define	M_WITCHKING_MACE_DAMAGE				400

#define	M_WITCHKING_LVL1_EXP_AWARD			35
#define	M_WITCHKING_LVL2_EXP_NEEDED 			100
#define	M_WITCHKING_LVL2_EXP_AWARD 			40
#define	M_WITCHKING_LVL3_EXP_NEEDED 			200
#define	M_WITCHKING_LVL3_EXP_AWARD 			45
#define	M_WITCHKING_LVL4_EXP_NEEDED 			300
#define	M_WITCHKING_LVL4_EXP_AWARD 			50
#define	M_WITCHKING_LVL5_EXP_NEEDED 			500
#define	M_WITCHKING_LVL5_EXP_AWARD 			60
#define	M_WITCHKING_LVL6_EXP_NEEDED 			700
#define	M_WITCHKING_LVL6_EXP_AWARD 			75
#define	M_WITCHKING_LVL7_EXP_NEEDED 			900
#define	M_WITCHKING_LVL7_EXP_AWARD 			90
#define	M_WITCHKING_LVL8_EXP_NEEDED 			1100
#define	M_WITCHKING_LVL8_EXP_AWARD 			105
#define	M_WITCHKING_LVL9_EXP_NEEDED 			1500
#define	M_WITCHKING_LVL9_EXP_AWARD 			125
#define	M_WITCHKING_LVL10_EXP_NEEDED 			2000
#define	M_WITCHKING_LVL10_EXP_AWARD 			150

#define M_WITCHKING_DREADVISAGE_EFFECT_RADIUS_MOUNTED	200
#define M_WITCHKING_DREADVISAGE_EFFECT_RADIUS		100


;-------------------Mouth of Sauron-------------------

#define M_MOUTH_OF_SAURON_BUILDCOST			1500
#define M_MOUTH_OF_SAURON_BUILDTIME			45
#define M_MOUTH_OF_SAURON_HEALTH				5000

#define M_MOUTH_OF_SAURON_BOUNTY_VALUE			375

#define M_MOUTH_OF_SAURON_DAMAGE				320

#define M_MOUTH_OF_SAURON_PREATTACKDELAY 			500  
#define M_MOUTH_OF_SAURON_DELAYBETWEENSHOTS 		1000 
#define M_MOUTH_OF_SAURON_FIRINGDURATION 			1000 


#define	M_MOUTH_OF_SAURON_LVL1_EXP_AWARD 			20
#define	M_MOUTH_OF_SAURON_LVL2_EXP_AWARD 			25
#define	M_MOUTH_OF_SAURON_LVL3_EXP_AWARD 			30
#define	M_MOUTH_OF_SAURON_LVL4_EXP_AWARD 			35
#define	M_MOUTH_OF_SAURON_LVL5_EXP_AWARD 			40
#define	M_MOUTH_OF_SAURON_LVL6_EXP_AWARD 			45
#define	M_MOUTH_OF_SAURON_LVL7_EXP_AWARD 			50
#define	M_MOUTH_OF_SAURON_LVL8_EXP_AWARD 			60
#define	M_MOUTH_OF_SAURON_LVL9_EXP_AWARD 			75
#define	M_MOUTH_OF_SAURON_LVL10_EXP_AWARD 		100

#define	M_MOUTH_OF_SAURON_LVL2_EXP_NEEDED 		50 ;100
#define	M_MOUTH_OF_SAURON_LVL3_EXP_NEEDED 		100 ;200
#define	M_MOUTH_OF_SAURON_LVL4_EXP_NEEDED 		200 ;400
#define	M_MOUTH_OF_SAURON_LVL5_EXP_NEEDED 		300 ;600
#define	M_MOUTH_OF_SAURON_LVL6_EXP_NEEDED 		400 ;800
#define	M_MOUTH_OF_SAURON_LVL7_EXP_NEEDED 		500 ;1000
#define	M_MOUTH_OF_SAURON_LVL8_EXP_NEEDED 		600 ;1200
#define	M_MOUTH_OF_SAURON_LVL9_EXP_NEEDED 		700 ;1600
#define	M_MOUTH_OF_SAURON_LVL10_EXP_NEEDED 		800 ;2000

#define M_MOUTH_OF_SAURON_DOUBT_DAMAGE_MULT_MODIFIER	75%	;// <100% for debuff
#define M_MOUTH_OF_SAURON_DOUBT_ARMOR_MODIFIER		-25%	;// additive, this value is subtracted from all entries in armor.ini
#define M_MOUTH_OF_SAURON_DOUBT_RADIUS			100
#define M_MOUTH_OF_SAURON_DOUBT_RECHARGE_MS		60000

#define M_MOUTH_OF_SAURON_DISSENT_DURATION_MS		45000
#define M_MOUTH_OF_SAURON_DISSENT_RADIUS			100
#define M_MOUTH_OF_SAURON_DISSENT_RECHARGE_MS		120000

#define M_MOUTH_OF_SAURON_EVILEYE_RANGE			250
#define M_MOUTH_OF_SAURON_EVILEYE_RECHARGE_MS		90000


;-----------------------Angmar WitchKing--------------

#define M_ANGMAR_WITCHKING_BUILDCOST				4000
#define M_ANGMAR_WITCHKING_BUILDTIME				60
#define M_ANGMAR_WITCHKING_HEALTH					8000
#define M_ANGMAR_WITCHKING_HEALTH_DAMAGED				4000
#define M_ANGMAR_WITCHKING_HEALTH_RECOVERY_TIME			5000
#define M_ANGMAR_WITCHKING_COMMAND_POINTS				75
#define M_ANGMAR_WITCHKING_VISION_RANGE				250
#define M_ANGMAR_WITCHKING_SHROUD_RANGE				300

#define M_ANGMAR_WITCHKING_SWORD_PREATTACKDELAY 			500
#define M_ANGMAR_WITCHKING_DELAYBETWEENSHOTS 			700
#define M_ANGMAR_WITCHKING_FIRINGDURATION 			700
#define	M_ANGMAR_WITCHKING_DAMAGE					320

#define M_ANGMAR_WITCHKING_MORGUL_PREATTACKDELAY 			500
#define M_ANGMAR_WITCHKING_MORGULBLADE_DELAYBETWEENSHOTS 		700
#define M_ANGMAR_WITCHKING_MORGULBLADE_FIRINGDURATION 		700
#define	M_ANGMAR_WITCHKING_MORGULBLADE_DAMAGE			600
#define	M_ANGMAR_WITCHKING_MORGULBLADE_DOT			30


#define M_ANGMAR_WITCHKING_MACE_PREATTACKDELAY 			1000
#define M_ANGMAR_WITCHKING_MACE_DELAYBETWEENSHOTS 		1000
#define M_ANGMAR_WITCHKING_MACE_FIRINGDURATION 			1750
#define	M_ANGMAR_WITCHKING_MACE_DAMAGE				400

#define	M_ANGMAR_WITCHKING_LVL1_EXP_AWARD				35
#define	M_ANGMAR_WITCHKING_LVL2_EXP_NEEDED 			100
#define	M_ANGMAR_WITCHKING_LVL2_EXP_AWARD 			40
#define	M_ANGMAR_WITCHKING_LVL3_EXP_NEEDED 			200
#define	M_ANGMAR_WITCHKING_LVL3_EXP_AWARD 			45
#define	M_ANGMAR_WITCHKING_LVL4_EXP_NEEDED 			300
#define	M_ANGMAR_WITCHKING_LVL4_EXP_AWARD 			50
#define	M_ANGMAR_WITCHKING_LVL5_EXP_NEEDED 			500
#define	M_ANGMAR_WITCHKING_LVL5_EXP_AWARD 			60
#define	M_ANGMAR_WITCHKING_LVL6_EXP_NEEDED 			700
#define	M_ANGMAR_WITCHKING_LVL6_EXP_AWARD 			75
#define	M_ANGMAR_WITCHKING_LVL7_EXP_NEEDED 			900
#define	M_ANGMAR_WITCHKING_LVL7_EXP_AWARD 			90
#define	M_ANGMAR_WITCHKING_LVL8_EXP_NEEDED 			1100
#define	M_ANGMAR_WITCHKING_LVL8_EXP_AWARD 			105
#define	M_ANGMAR_WITCHKING_LVL9_EXP_NEEDED 			1500
#define	M_ANGMAR_WITCHKING_LVL9_EXP_AWARD 			125
#define	M_ANGMAR_WITCHKING_LVL10_EXP_NEEDED 			2000
#define	M_ANGMAR_WITCHKING_LVL10_EXP_AWARD 			150

#define M_ANGMAR_WITCHKING_DREADWRATH_EFFECT_RADIUS_MOUNTED	200
#define M_ANGMAR_WITCHKING_DREADWRATH_EFFECT_RADIUS		200
#define M_ANGMAR_WITCHKING_DREADWRATH_DURATION			3000


;------------------------Morgramir-------------

 

#define M_ANGMAR_MORGRAMIR_BUILDCOST                     	1500
#define M_ANGMAR_MORGRAMIR_BUILDTIME                     	40 

#define M_ANGMAR_MORGRAMIR_HEALTH                       	3000
#define M_ANGMAR_MORGRAMIR_HEALTH_DAMAGED                	1000
#define M_ANGMAR_MORGRAMIR_HEALTH_RECOVERY_TIME           5000

#define M_ANGMAR_MORGRAMIR_VISION_RANGE                  	175
#define M_ANGMAR_MORGRAMIR_SHROUD_RANGE                  	300

#define M_ANGMAR_MORGRAMIR_DAMAGE                        	250
#define M_ANGMAR_MORGRAMIR_FORGEDBLADES_UPGRADE          	90 
#define M_ANGMAR_MORGRAMIR_PREATTACKDELAY                 500  
#define M_ANGMAR_MORGRAMIR_DELAYBETWEENSHOTS              1000 

#define M_ANGMAR_MORGRAMIR_FIRINGDURATION                 1000 

#define	M_ANGMAR_MORGRAMIR_MORGULBLADE_DAMAGE		400
#define	M_ANGMAR_MORGRAMIR_MORGULBLADE_DOT		15


#define M_ANGMAR_MORGRAMIR_RUIN_DAMAGE                    2500
#define M_ANGMAR_MORGRAMIR_RUIN_PREATTACKDELAY                 2000  
#define M_ANGMAR_MORGRAMIR_RUIN_DELAYBETWEENSHOTS              1000 
#define M_ANGMAR_MORGRAMIR_RUIN_FIRINGDURATION                 1000 

#define	M_ANGMAR_MORGRAMIR_LVL1_EXP_AWARD 		30
#define	M_ANGMAR_MORGRAMIR_LVL2_EXP_AWARD 		35
#define	M_ANGMAR_MORGRAMIR_LVL3_EXP_AWARD 		40
#define	M_ANGMAR_MORGRAMIR_LVL4_EXP_AWARD 		45
#define	M_ANGMAR_MORGRAMIR_LVL5_EXP_AWARD 		50
#define	M_ANGMAR_MORGRAMIR_LVL6_EXP_AWARD 		55
#define	M_ANGMAR_MORGRAMIR_LVL7_EXP_AWARD 		60
#define	M_ANGMAR_MORGRAMIR_LVL8_EXP_AWARD 		70
#define	M_ANGMAR_MORGRAMIR_LVL9_EXP_AWARD 		80
#define	M_ANGMAR_MORGRAMIR_LVL10_EXP_AWARD 		100

#define	M_ANGMAR_MORGRAMIR_LVL2_EXP_NEEDED 		100
#define	M_ANGMAR_MORGRAMIR_LVL3_EXP_NEEDED 		200
#define	M_ANGMAR_MORGRAMIR_LVL4_EXP_NEEDED 		300
#define	M_ANGMAR_MORGRAMIR_LVL5_EXP_NEEDED 		400
#define	M_ANGMAR_MORGRAMIR_LVL6_EXP_NEEDED 		500
#define	M_ANGMAR_MORGRAMIR_LVL7_EXP_NEEDED 		600
#define	M_ANGMAR_MORGRAMIR_LVL8_EXP_NEEDED 		700
#define	M_ANGMAR_MORGRAMIR_LVL9_EXP_NEEDED 		800
#define	M_ANGMAR_MORGRAMIR_LVL10_EXP_NEEDED 		1000

;----------------------ROGASH------------------------

#define M_ROGASH_BUILDCOST				3000
#define M_ROGASH_BUILDTIME				45		
#define M_ROGASH_HEALTH					3000
#define M_ROGASH_WEAPON_RANGE				30.0

#define	M_ROGASH_LVL1_EXP_AWARD 				30
#define	M_ROGASH_LVL2_EXP_AWARD 				35
#define	M_ROGASH_LVL3_EXP_AWARD 				40
#define	M_ROGASH_LVL4_EXP_AWARD 				45
#define	M_ROGASH_LVL5_EXP_AWARD 				50
#define	M_ROGASH_LVL6_EXP_AWARD 				55
#define	M_ROGASH_LVL7_EXP_AWARD 				60
#define	M_ROGASH_LVL8_EXP_AWARD 				70
#define	M_ROGASH_LVL9_EXP_AWARD 				80
#define	M_ROGASH_LVL10_EXP_AWARD 				100

#define	M_ROGASH_LVL2_EXP_NEEDED 				200
#define	M_ROGASH_LVL3_EXP_NEEDED 				400
#define	M_ROGASH_LVL4_EXP_NEEDED 				600
#define	M_ROGASH_LVL5_EXP_NEEDED 				800
#define	M_ROGASH_LVL6_EXP_NEEDED 				1000
#define	M_ROGASH_LVL7_EXP_NEEDED 				1200
#define	M_ROGASH_LVL8_EXP_NEEDED 				1600
#define	M_ROGASH_LVL9_EXP_NEEDED 				2000
#define	M_ROGASH_LVL10_EXP_NEEDED 			2400
#define M_ANGMAR_ROGASH_BOUNTY_VALUE			200
#define M_ROGASH_THREAT_LEVEL				100


#define M_ROGASH_MACE_PREATTACKDELAY 			633
#define M_ROGASH_MACE_DELAYBETWEENSHOTS 			1000
#define M_ROGASH_MACE_FIRINGDURATION 			1367
#define	M_ROGASH_MACE_DAMAGE				200

#define M_ROGASH_PREATTACKDELAY 				433
#define M_ROGASH_DELAYBETWEENSHOTS 			600
#define M_ROGASH_FIRINGDURATION 				600
#define	M_ROGASH_DAMAGE					300
#define M_ROGASH_PREATTACKDELAY_SUPER			833
#define M_ROGASH_DELAYBETWEENSHOTS_SUPER			600
#define M_ROGASH_FIRINGDURATION_SUPER			900
#define	M_ROGASH_DAMAGE_SUPER				500
#define	M_ROGASH_LEAP_DAMAGE				300

#define	M_ROGASH_THROW_DAMAGE				400
#define	M_ROGASH_THROW_RANGE				175


;-----------------------HWALDAR-----------------------

#define M_HWALDAR_BUILDCOST				1200
#define M_HWALDAR_BUILDTIME				30
#define M_HWALDAR_HEALTH					2400

#define	M_HWALDAR_LVL1_EXP_AWARD 				20
#define	M_HWALDAR_LVL2_EXP_AWARD 				25
#define	M_HWALDAR_LVL3_EXP_AWARD 				30
#define	M_HWALDAR_LVL4_EXP_AWARD 				35
#define	M_HWALDAR_LVL5_EXP_AWARD 				40
#define	M_HWALDAR_LVL6_EXP_AWARD 				45
#define	M_HWALDAR_LVL7_EXP_AWARD 				50
#define	M_HWALDAR_LVL8_EXP_AWARD 				60
#define	M_HWALDAR_LVL9_EXP_AWARD 				75
#define	M_HWALDAR_LVL10_EXP_AWARD 			100

#define	M_HWALDAR_LVL2_EXP_NEEDED 			50 	; 60
#define	M_HWALDAR_LVL3_EXP_NEEDED 			100 	; 200
#define	M_HWALDAR_LVL4_EXP_NEEDED 			200 	; 400
#define	M_HWALDAR_LVL5_EXP_NEEDED 			300 	; 600
#define	M_HWALDAR_LVL6_EXP_NEEDED 			400 	; 800
#define	M_HWALDAR_LVL7_EXP_NEEDED 			500 	; 1000
#define	M_HWALDAR_LVL8_EXP_NEEDED 			600 	; 1200
#define	M_HWALDAR_LVL9_EXP_NEEDED 			700 	; 1600
#define	M_HWALDAR_LVL10_EXP_NEEDED 			800 	; 2000

#define M_HWALDAR_PREATTACKDELAY 				1000
#define M_HWALDAR_DELAYBETWEENSHOTS 			1500
#define M_HWALDAR_FIRINGDURATION 				1500
#define	M_HWALDAR_DAMAGE					200

#define M_HWALDAR_CARNAGE_PREATTACKDELAY 			367
#define M_HWALDAR_CARNAGE_DELAYBETWEENSHOTS 		1200
#define M_HWALDAR_CARNAGE_FIRINGDURATION 			833
#define M_HWALDAR_CARNAGE_DAMAGE				300


#define M_HWALDAR_CRIPPLE_RANGE_ABILTY_START		320
#define M_HWALDAR_CRIPPLE_RANGE_WEAPON			350 ;// this has to be bigger than M_HWALDAR_CRIPPLE_RANGE_ABILTY_START


;----------------------KARSH--------------------

#define M_KARSH_BUILDCOST					1500
#define M_KARSH_BUILDTIME					45
#define M_KARSH_HEALTH					3000

#define M_KARSH_BOUNTY_VALUE				375
	
#define M_KARSH_DAMAGE					320

#define M_KARSH_PREATTACKDELAY 				500  
#define M_KARSH_DELAYBETWEENSHOTS 			1000 
#define M_KARSH_FIRINGDURATION 				1000 


#define	M_KARSH_LVL1_EXP_AWARD 				20
#define	M_KARSH_LVL2_EXP_AWARD 				25
#define	M_KARSH_LVL3_EXP_AWARD 				30
#define	M_KARSH_LVL4_EXP_AWARD 				35
#define	M_KARSH_LVL5_EXP_AWARD 				40
#define	M_KARSH_LVL6_EXP_AWARD 				45
#define	M_KARSH_LVL7_EXP_AWARD 				50
#define	M_KARSH_LVL8_EXP_AWARD 				60
#define	M_KARSH_LVL9_EXP_AWARD 				75
#define	M_KARSH_LVL10_EXP_AWARD 				100

#define	M_KARSH_LVL2_EXP_NEEDED 				50 	; 100
#define	M_KARSH_LVL3_EXP_NEEDED 				100 	; 200
#define	M_KARSH_LVL4_EXP_NEEDED 				200 	; 400
#define	M_KARSH_LVL5_EXP_NEEDED 				300 	; 600
#define	M_KARSH_LVL6_EXP_NEEDED 				400	; 800
#define	M_KARSH_LVL7_EXP_NEEDED 				500 	; 1000
#define	M_KARSH_LVL8_EXP_NEEDED 				600 	; 1200
#define	M_KARSH_LVL9_EXP_NEEDED 				700 	; 1600
#define	M_KARSH_LVL10_EXP_NEEDED 				800 	; 2000

#define M_KARSH_DOUBT_DAMAGE_MULT_MODIFIER		75%	;// <100% for debuff
#define M_KARSH_DOUBT_ARMOR_MODIFIER			-25%	;// additive, this value is subtracted from all entries in armor.ini
#define M_KARSH_DOUBT_RADIUS				100
#define M_KARSH_DOUBT_RECHARGE_MS				60000

#define M_KARSH_DISSENT_DURATION_MS			45000
#define M_KARSH_DISSENT_RADIUS				100
#define M_KARSH_DISSENT_RECHARGE_MS			120000

#define M_KARSH_EVILEYE_RANGE				250
#define M_KARSH_EVILEYE_RECHARGE_MS			90000

#define M_CHILL_SOUL_EFFECT_DAMAGE			1
#define M_CHILL_SOUL_EFFECT_RADIUS			50
#define M_CHILL_SOUL_DURATION			5000

#define M_KARSH_SWORD_DELAYBETWEENSHOTS			2000
#define M_KARSH_SWORD_PREATTACKDELAY			500
#define M_KARSH_SWORD_FIRINGDURATION			1500
#define M_KARSH_SWORD_DAMAGE				70

#define M_WHISPEROFDEATH_OBJECT_FILTER			ANY +HERO +INFANTRY +CAVALRY +MONSTER -MACHINE -STRUCTURE -MordorBalrog -GondorGwaihir -GondorGwaihir_Summoned -MordorFellBeast -MordorWitchKingOnFellBeast -Drogoth -ElvenFortressEagle -AngmarKarsh ENEMIES
#define M_ANGMAR_WHISPEROFDEATH_PREATTACKDELAY 		500
#define M_ANGMAR_WHISPEROFDEATH_DELAYBETWEENSHOTS 	700
#define M_ANGMAR_WHISPEROFDEATH_FIRINGDURATION 		700
#define	M_ANGMAR_WHISPEROFDEATH_DAMAGE			500

;-----------------------Tom Bombadil-------------------

#define M_TOM_BOMBADIL_HEALTH				5000
#define	M_TOM_BOMBADIL_SONIC_SONG_DAMAGE			500
#define	M_TOM_BOMBADIL_SONIC_SONG_RANGE			100
#define M_TOM_BOMBADIL_PUNCH_DELAYBETWEENSHOTS		1000
#define M_TOM_BOMBADIL_PUNCH_FIRINGDURATION		1000
#define M_TOM_BOMBADIL_PUNCH_PREATTACKDELAY		500
#define M_TOM_BOMBADIL_PUNCH_DAMAGE			200

;-----------------------Elrond------------------------

#define M_ELROND_HEALTH					3500

#define M_ELROND_PREATTACKDELAY 				600
#define M_ELROND_DELAYBETWEENSHOTS 			1200
#define M_ELROND_FIRINGDURATION 				1200
#define	M_ELROND_DAMAGE					250

#define	M_ELROND_BOW_RANGE				500

#define	M_ELROND_LVL1_EXP_AWARD 				35
#define	M_ELROND_LVL2_EXP_AWARD 				40
#define	M_ELROND_LVL3_EXP_AWARD 				45
#define	M_ELROND_LVL4_EXP_AWARD 				50
#define	M_ELROND_LVL5_EXP_AWARD 				60
#define	M_ELROND_LVL6_EXP_AWARD 				75
#define	M_ELROND_LVL7_EXP_AWARD 				90
#define	M_ELROND_LVL8_EXP_AWARD 				105
#define	M_ELROND_LVL9_EXP_AWARD 				125
#define	M_ELROND_LVL10_EXP_AWARD 				150

#define	M_ELROND_LVL2_EXP_NEEDED 				50 ;200 
#define	M_ELROND_LVL3_EXP_NEEDED 				100 ;400 
#define	M_ELROND_LVL4_EXP_NEEDED 				200 ;600 
#define	M_ELROND_LVL5_EXP_NEEDED 				300 ;800 
#define	M_ELROND_LVL6_EXP_NEEDED 				500 ;1000 
#define	M_ELROND_LVL7_EXP_NEEDED 				700 ;1200 
#define	M_ELROND_LVL8_EXP_NEEDED 				900 ;1400 
#define	M_ELROND_LVL9_EXP_NEEDED 				1100 ;1600
#define	M_ELROND_LVL10_EXP_NEEDED 			1500 ;2000

#define M_ELROND_BUILDCOST				2500
#define M_ELROND_BUILDTIME				30
#define M_ELROND_THREAT					100

;-----------------------FireDrake----------------------

#define M_FIREDRAKE_BOUNTY_VALUE				250
#define M_FIREDRAKE_HEALTH				4000
#define M_FIREDRAKE_HEALTH_RECOVERY_TIME			10000

#define M_FIREDRAKE_FLAME_RANGE				100
#define M_FIREDRAKE_FLAME_SPEED				100
#define M_FIREDRAKE_FLAME_MINSPEED			85
#define M_FIREDRAKE_FLAME_MAXSPEED			115
#define M_FIREDRAKE_FLAME_DELAYBETWEENSHOTS		50
#define M_FIREDRAKE_FLAME_PREATTACKDELAY			0
#define M_FIREDRAKE_FLAME_FIRINGDURATION			0
#define M_FIREDRAKE_FLAME_RELOADTIME_MAX			50
#define M_FIREDRAKE_FLAME_DAMAGE				750
#define M_FIREDRAKE_FLAME_RADIUS				30
#define M_FIREDRAKE_FLAME_DELAY				0
#define M_FIREDRAKE_FLAME_FUELINCREASE_RADIUS		30
#define M_FIREDRAKE_FLAME_FUELINCREASE_AMOUNT		12
#define M_FIREDRAKE_FLAME_FUELINCREASE_MINMAXBURNRATE	10
#define M_FIREDRAKE_FLAME_FUELINCREASE_RESISTANCE		5
#define M_FIREDRAKE_FLAME_INCREASEBURNRATE_RADIUS		10
#define M_FIREDRAKE_FLAME_INCREASEBURNRATE_AMOUNT		10

#define M_FIREDRAKE_INFERNO_DAMAGE				2000
#define M_FIREDRAKE_INFERNO_RADIUS				150

#define M_FIREDRAKE_INFERNO_FUELINCREASE_RADIUS			150
#define M_FIREDRAKE_INFERNO_FUELINCREASE_AMOUNT			12
#define M_FIREDRAKE_INFERNO_FUELINCREASE_MINMAXBURNRATE		10
#define M_FIREDRAKE_INFERNO_FUELINCREASE_RESISTANCE		5

#define M_FIREDRAKE_INFERNO_INCREASEBURNRATE_RADIUS		210
#define M_FIREDRAKE_INFERNO_INCREASEBURNRATE_AMOUNT		20

;-----------------------BabyFireDrake----------------------

#define M_BABYDRAKE_BOUNTY_VALUE				200
#define M_BABYDRAKE_HEALTH				1500
#define M_BABYDRAKE_HEALTH_RECOVERY_TIME			10000

#define M_BABYDRAKE_FLAME_RANGE				150
#define M_BABYDRAKE_FLAME_SPEED				100
#define M_BABYDRAKE_FLAME_MINSPEED			85
#define M_BABYDRAKE_FLAME_MAXSPEED			115
#define M_BABYDRAKE_FLAME_DELAYBETWEENSHOTS		50
#define M_BABYDRAKE_FLAME_PREATTACKDELAY			0
#define M_BABYDRAKE_FLAME_FIRINGDURATION			0
#define M_BABYDRAKE_FLAME_RELOADTIME_MAX			50
#define M_BABYDRAKE_FLAME_DAMAGE				175	; originally 250
#define M_BABYDRAKE_FLAME_RADIUS				30
#define M_BABYDRAKE_FLAME_DELAY				0
#define M_BABYDRAKE_FLAME_FUELINCREASE_RADIUS		30
#define M_BABYDRAKE_FLAME_FUELINCREASE_AMOUNT		12
#define M_BABYDRAKE_FLAME_FUELINCREASE_MINMAXBURNRATE	10
#define M_BABYDRAKE_FLAME_FUELINCREASE_RESISTANCE		5
#define M_BABYDRAKE_FLAME_INCREASEBURNRATE_RADIUS		10
#define M_BABYDRAKE_FLAME_INCREASEBURNRATE_AMOUNT		10

#define M_BABYDRAKE_INFERNO_DAMAGE				800
#define M_BABYDRAKE_INFERNO_RADIUS				75

#define M_BABYDRAKE_INFERNO_FUELINCREASE_RADIUS			150
#define M_BABYDRAKE_INFERNO_FUELINCREASE_AMOUNT			12
#define M_BABYDRAKE_INFERNO_FUELINCREASE_MINMAXBURNRATE		10
#define M_BABYDRAKE_INFERNO_FUELINCREASE_RESISTANCE		5

#define M_BABYDRAKE_INFERNO_INCREASEBURNRATE_RADIUS		150
#define M_BABYDRAKE_INFERNO_INCREASEBURNRATE_AMOUNT		20

#define M_BABYDRAKE_BUILDCOST			1500
#define M_BABYDRAKE_BUILDTIME			30

;-----------------------SummonedDragon------------------------

#define M_SUMMONED_DRAGON_FLAME_RANGE				200
#define M_SUMMONED_DRAGON_FLAME_SPEED				100
#define M_SUMMONED_DRAGON_FLAME_MINSPEED				85
#define M_SUMMONED_DRAGON_FLAME_MAXSPEED				115
#define M_SUMMONED_DRAGON_FLAME_DELAYBETWEENSHOTS			50
#define M_SUMMONED_DRAGON_FLAME_PREATTACKDELAY			0
#define M_SUMMONED_DRAGON_FLAME_FIRINGDURATION			0
#define M_SUMMONED_DRAGON_FLAME_RELOADTIME_MAX			50
#define M_SUMMONED_DRAGON_FLAME_DAMAGE				2000
#define M_SUMMONED_DRAGON_FLAME_RADIUS				175
#define M_SUMMONED_DRAGON_FLAME_DELAY				0
#define M_SUMMONED_DRAGON_FLAME_FUELINCREASE_RADIUS		30
#define M_SUMMONED_DRAGON_FLAME_FUELINCREASE_AMOUNT		150
#define M_SUMMONED_DRAGON_FLAME_FUELINCREASE_MINMAXBURNRATE	10
#define M_SUMMONED_DRAGON_FLAME_FUELINCREASE_RESISTANCE		5
#define M_SUMMONED_DRAGON_FLAME_INCREASEBURNRATE_RADIUS		50
#define M_SUMMONED_DRAGON_FLAME_INCREASEBURNRATE_AMOUNT		10
#define M_SUMMONED_DRAGON_CRUSH_DAMAGE				200


;-----------------------GoblinKing---------------------

#define M_WILD_GOBLIN_KING_BUILDCOST			3000
#define M_WILD_GOBLIN_KING_BUILDTIME			30
#define M_WILD_GOBLIN_KING_HEALTH				3000

#define	M_WILD_GOBLIN_KING_LVL1_EXP_AWARD 		35
#define	M_WILD_GOBLIN_KING_LVL2_EXP_AWARD 		40
#define	M_WILD_GOBLIN_KING_LVL3_EXP_AWARD 		45
#define	M_WILD_GOBLIN_KING_LVL4_EXP_AWARD 		50
#define	M_WILD_GOBLIN_KING_LVL5_EXP_AWARD 		60
#define	M_WILD_GOBLIN_KING_LVL6_EXP_AWARD 		75
#define	M_WILD_GOBLIN_KING_LVL7_EXP_AWARD 		90
#define	M_WILD_GOBLIN_KING_LVL8_EXP_AWARD 		105
#define	M_WILD_GOBLIN_KING_LVL9_EXP_AWARD 		125
#define	M_WILD_GOBLIN_KING_LVL10_EXP_AWARD 		150

#define	M_WILD_GOBLIN_KING_LVL2_EXP_NEEDED 		50 	; 200 
#define	M_WILD_GOBLIN_KING_LVL3_EXP_NEEDED 		100 	; 400 
#define	M_WILD_GOBLIN_KING_LVL4_EXP_NEEDED 		200 	; 600 
#define	M_WILD_GOBLIN_KING_LVL5_EXP_NEEDED 		300 	; 800 
#define	M_WILD_GOBLIN_KING_LVL6_EXP_NEEDED 		400 	; 1000 
#define	M_WILD_GOBLIN_KING_LVL7_EXP_NEEDED 		500 	; 1200 
#define	M_WILD_GOBLIN_KING_LVL8_EXP_NEEDED 		600 	; 1400 
#define	M_WILD_GOBLIN_KING_LVL9_EXP_NEEDED 		700 	; 1600 
#define	M_WILD_GOBLIN_KING_LVL10_EXP_NEEDED 		800 	; 2000

#define M_WILD_GOBLIN_KING_PREATTACKDELAY 		600
#define M_WILD_GOBLIN_KING_DELAYBETWEENSHOTS 		600
#define M_WILD_GOBLIN_KING_FIRINGDURATION 		1000
#define M_WILD_GOBLIN_KING_DAMAGE				300

#define M_WILD_GOBLIN_KING_STINGER_PREATTACKDELAY 	600
#define M_WILD_GOBLIN_KING_STINGER_DELAYBETWEENSHOTS 	600
#define M_WILD_GOBLIN_KING_STINGER_FIRINGDURATION 	1000 	; 600
#define M_WILD_GOBLIN_KING_STINGER_DAMAGE			20
;#define WILD_GOBLIN_KING_STINGER_POISON_DAMAGE		10

#define M_CALL_OF_THE_DEEP_MAX_CAST_RANGE			250

;-----------------------Drogoth------------------------

#define M_DROGOTH_BUILDCOST				5000
#define M_DROGOTH_BUILDTIME				60
#define M_DROGOTH_HEALTH					6000
#define M_DROGOTH_HEAL_AMOUNT				30
#define M_DROGOTH_PLOW_DAMAGE_INNER			200

#define M_DROGOTH_FIREBALL_RANGE				400
#define	M_DROGOTH_FIREBALL_DAMAGE				400
#define	M_DROGOTH_FIREBALL_DAMAGE_SIEGE			400
#define M_DROGOTH_FIREBALL_RADIUS				30

#define M_DROGOTH_FIREFLIGHT_RANGE			300
#define M_DROGOTH_FIREFLIGHT_DAMAGE			1000	; level 10 power, should be large.
#define M_DROGOTH_FIREFLIGHT_RADIUS			100

#define M_DROGOTH_WING_FLAP_DAMAGE_SMALL			15
#define M_DROGOTH_WING_FLAP_RADIUS_SMALL			75
#define M_DROGOTH_WING_FLAP_DAMAGE_LARGE			5
#define M_DROGOTH_WING_FLAP_RADIUS_LARGE			150
#define M_DROGOTH_WING_FLAP_SHOCK_AMOUNT_SMALL		60
#define M_DROGOTH_WING_FLAP_SHOCK_RADIUS_SMALL		60
#define M_DROGOTH_WING_FLAP_SHOCK_AMOUNT_LARGE		40
#define M_DROGOTH_WING_FLAP_SHOCK_RADIUS_LARGE		100

#define M_DROGOTH_INCINERATE_RANGE			60
#define M_DROGOTH_INCINERATE_DAMAGE			1000
#define M_DROGOTH_INCINERATE_RADIUS			210
#define M_DROGOTH_INCINERATE_ARC				90
#define M_DROGOTH_INCINERATE_CENTRE_DAMAGE		1000	; A nugget right on the centre, so if an object is slightly behind the arc it still gets damaged.
#define M_DROGOTH_INCINERATE_CENTRE_RADIUS		50


#define	M_DROGOTH_LVL1_EXP_AWARD 				40
#define	M_DROGOTH_LVL2_EXP_AWARD 				50
#define	M_DROGOTH_LVL3_EXP_AWARD 				60
#define	M_DROGOTH_LVL4_EXP_AWARD 				70
#define	M_DROGOTH_LVL5_EXP_AWARD 				80
#define	M_DROGOTH_LVL6_EXP_AWARD 				90
#define	M_DROGOTH_LVL7_EXP_AWARD 				100
#define	M_DROGOTH_LVL8_EXP_AWARD 				125
#define	M_DROGOTH_LVL9_EXP_AWARD 				150
#define	M_DROGOTH_LVL10_EXP_AWARD 			200

#define	M_DROGOTH_LVL2_EXP_NEEDED 			100 	; 200 
#define	M_DROGOTH_LVL3_EXP_NEEDED 			200 	; 400 
#define	M_DROGOTH_LVL4_EXP_NEEDED 			400 	; 600 
#define	M_DROGOTH_LVL5_EXP_NEEDED 			600	; 800 
#define	M_DROGOTH_LVL6_EXP_NEEDED 			800 	; 1000 
#define	M_DROGOTH_LVL7_EXP_NEEDED 			1000 	; 1200 
#define	M_DROGOTH_LVL8_EXP_NEEDED 			1200 	; 1400 
#define	M_DROGOTH_LVL9_EXP_NEEDED 			1500 	; 1600 
#define	M_DROGOTH_LVL10_EXP_NEEDED 			2000 	; 2000

;-----------------------Azog-------------------------

#define M_AZOG_BUILDCOST					1200
#define M_AZOG_BUILDTIME					30
#define M_AZOG_HEALTH					2400

#define	M_AZOG_LVL1_EXP_AWARD 				20
#define	M_AZOG_LVL2_EXP_AWARD 				25
#define	M_AZOG_LVL3_EXP_AWARD 				30
#define	M_AZOG_LVL4_EXP_AWARD 				35
#define	M_AZOG_LVL5_EXP_AWARD 				40
#define	M_AZOG_LVL6_EXP_AWARD 				45
#define	M_AZOG_LVL7_EXP_AWARD 				50
#define	M_AZOG_LVL8_EXP_AWARD 				60
#define	M_AZOG_LVL9_EXP_AWARD 				75
#define	M_AZOG_LVL10_EXP_AWARD 				100

#define	M_AZOG_LVL2_EXP_NEEDED 				50 	; 60
#define	M_AZOG_LVL3_EXP_NEEDED 				100 	; 200
#define	M_AZOG_LVL4_EXP_NEEDED 				150 	; 400
#define	M_AZOG_LVL5_EXP_NEEDED 				200 	; 600
#define	M_AZOG_LVL6_EXP_NEEDED 				250 	; 800
#define	M_AZOG_LVL7_EXP_NEEDED 				300 	; 1000
#define	M_AZOG_LVL8_EXP_NEEDED 				350 	; 1200
#define	M_AZOG_LVL9_EXP_NEEDED 				400 	; 1600
#define	M_AZOG_LVL10_EXP_NEEDED 				500 	; 2000

#define M_AZOG_PREATTACKDELAY 				1000
#define M_AZOG_DELAYBETWEENSHOTS 				1500
#define M_AZOG_FIRINGDURATION 				1500
#define	M_AZOG_DAMAGE					200	; originally 150

#define M_AZOG_BOUNTY_VALUE				375


//-----------------------CreateAHero------------------
#include "CreateAHeroGameData.inc"
//-----------------------CreateAHero------------------

;-----------------------Isildur-----------------------

#define M_ISILDUR_HEALTH					1500

;-----------------------Giant Eagle------------------

#define M_GIANT_EAGLE_HEALTH				2000
#define	M_EAGLE_PLOW_DAMAGE_OUTER				250
#define	M_EAGLE_PLOW_DAMAGE_INNER				500
#define M_EAGLE_FLY_INTO_DAMAGE				200
#define	M_EAGLE_CLAW_DAMAGE				500
#define M_EAGLE_GRAB_SPLASH_DAMAGE			40.0	

;Gwaihir uses all the nazgul attacks for damage. 

;----------------------Balrog of Morgoth!!!-------------

#define M_BALROG_HEALTH					4000

#define	M_BALROG_SWORD_SWIPE_DAMAGE_NORMAL		1000	; Normal attack with knockback
#define	M_BALROG_SWORD_SWIPE_DAMAGE_FLAME			800 	; 1000
#define	M_BALROG_SWORD_CHOP_DAMAGE_STRUCTURAL		600 	; 1000		;Chop against buildings and some monsters
#define	M_BALROG_SWORD_CHOP_DAMAGE_FLAME			1000 	; 1000
#define	M_BALROG_DAMAGE_DISPLAY				2000	; In the hero tooltip, how much damage I say I do
#define	M_BALROG_WHIP_DAMAGE				2000
#define	M_BALROG_WHIP_DAMAGE_FLAME			1000
#define	M_BALROG_BREATH_DAMAGE				3000
#define M_BALROG_BREATH_RADIUS				210
#define	M_BALROG_JUMP_DAMAGE				400
#define	M_BALROG_SUMMONING_DAMAGE				1000
#define	M_BALROG_IGNITE_AURA_DAMAGE			100
#define M_BALROG_LIFETIME					90000

#define M_SHROUD_CLEAR_BALROG				800
#define M_VISION_BALROG					400

#define M_WATCHER_LIFETIME				30000
#define M_WATCHER_CALDERA_LIFETIME			32000	; This number should be bigger than LurkerLifetime by the "DestructionDelay" in "ModuleTag_HatchProcess" in "LurkerEgg"
#define M_WATCHER_ARM_HEALTH				2000


;-------------- Wyrm ---------------

#define M_WYRM_HEALTH					5000
#define M_WYRM_FIRE_PREATTACKDELAY 			800
#define M_WYRM_FIRE_DELAYBETWEENSHOTS 			1000
#define M_WYRM_FIRE_FIRINGDURATION 			1000
#define	M_WYRM_FIRE_DAMAGE				2000
#define	M_WYRM_FIRE_RADIUS				80
#define	M_WYRM_APPEAR_DAMAGE				100	; The damage when we erupt through the ground.
#define	M_WYRM_APPEAR_RADIUS				50
#define	M_WYRM_APPEAR_SH_RADIUS				75

;-------------- Gollum ---------------

#define M_GOLLUM_PREATTACKDELAY 				1000
#define M_GOLLUM_DELAYBETWEENSHOTS 			0
#define M_GOLLUM_FIRINGDURATION 				1000
#define M_GOLLUM_DAMAGE					10


;----------------------ARMY OF THE DEAD - OATHBREAKERS ----

#define	M_OATHBREAKER_SWORD				300
#define M_OATHBREAKER_SWORD_PREATTACKDELAY 		200
#define M_OATHBREAKER_SWORD_DELAYBETWEENSHOTS 		300
#define M_OATHBREAKER_SWORD_FIRINGDURATION 		300

#define	M_OATHBREAKER_LIFETIME				45000

;----------------------BARROW WIGHT -------------------

#define	M_BARROWWIGHT_SWORD				200
#define M_BARROWWIGHT_SWORD_PREATTACKDELAY 		600
#define M_BARROWWIGHT_SWORD_DELAYBETWEENSHOTS 		300
#define M_BARROWWIGHT_SWORD_FIRINGDURATION 		1400
#define M_LESSER_WIGHT_REINFORCEMENT_LIFETIME		30000


;-----------------------Cave Troll-------------------------

#define	M_CAVE_TROLL_HEALTH 				2000


;-------------------HORDE RENDER LOD DATA-------------

#define M_ALLOW_MULTIPLE_MODELS_LOW			No
#define M_MAX_RANDOM_TEXTURES_LOW				1
#define M_MAX_RANDOM_ANIMATIONS_LOW			1
#define M_MAX_ANIM_FRAME_DELTA_LOW			10

#define M_ALLOW_MULTIPLE_MODELS_MED			No
#define M_MAX_RANDOM_TEXTURES_MED				2
#define M_MAX_RANDOM_ANIMATIONS_MED			4
#define M_MAX_ANIM_FRAME_DELTA_MED			4

#define M_ALLOW_MULTIPLE_MODELS_HIGH			Yes
#define M_MAX_RANDOM_TEXTURES_HIGH			2
#define M_MAX_RANDOM_ANIMATIONS_HIGH			4
#define M_MAX_ANIM_FRAME_DELTA_HIGH			4

;--------------------HORDE MOVEMENT DATA---------------

#define M_UNIT_FLAMING_DEATH_PANIC_SPEED			40

#define M_NORMAL_INGAME_PORTER_SPEED			60

#define M_NORMAL_EVIL_INFANTRY_HORDE_SPEED		33
#define M_NORMAL_EVIL_INFANTRY_MEMBER_SPEED		37	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_EVIL_FAST_HORDE_SPEED			50
#define M_NORMAL_EVIL_FAST_MEMBER_SPEED			55	; A little faster so when the formation wheels the unit can catch up.


#define M_NORMAL_GOOD_INFANTRY_HORDE_SPEED		40
#define M_NORMAL_GOOD_INFANTRY_MEMBER_SPEED		45	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_GOOD_FAST_HORDE_SPEED			50
#define M_NORMAL_GOOD_FAST_MEMBER_SPEED			55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_CAVALRY_HORDE_SPEED			80
#define M_NORMAL_CAVALRY_MEMBER_SPEED			90	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_CAVALRY_FAST_HORDE_SPEED			90
#define M_NORMAL_CAVALRY_FAST_MEMBER_SPEED		100	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_DWARF_HERO_SPEED				45
#define M_NORMAL_GOOD_HERO_SPEED				50
#define M_NORMAL_EVIL_HERO_SPEED				50
#define M_NORMAL_EVIL_FAST_HERO_SPEED			55

#define M_NORMAL_GOOD_LEGOLAS_SPEED			50
#define M_NORMAL_GOOD_HOBBIT_SPEED			35
#define M_NORMAL_GOOD_THRANDUIL_SPEED			50


#define M_NORMAL_ISENGARD_INFANTRY_HORDE_SPEED		50
#define M_NORMAL_ISENGARD_INFANTRY_MEMBER_SPEED		55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ISENGARD_PIKEMEN_HORDE_SPEED		50
#define M_NORMAL_ISENGARD_PIKEMEN_MEMBER_SPEED		55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ISENGARD_FAST_HORDE_SPEED		65
#define M_NORMAL_ISENGARD_FAST_MEMBER_SPEED		75	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ISENGARD_CAVALRY_HORDE_SPEED		80
#define M_NORMAL_ISENGARD_CAVALRY_MEMBER_SPEED		90	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ISENGARD_CAVALRY_FAST_HORDE_SPEED	110
#define M_NORMAL_ISENGARD_CAVALRY_FAST_MEMBER_SPEED	120	; A little faster so when the formation wheels the unit can catch up.

	

#define M_NORMAL_MORDOR_INFANTRY_HORDE_SPEED		50
#define M_NORMAL_MORDOR_INFANTRY_MEMBER_SPEED		55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MORDOR_PIKEMEN_HORDE_SPEED		63
#define M_NORMAL_MORDOR_PIKEMEN_MEMBER_SPEED		67	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MORDOR_FAST_HORDE_SPEED			70
#define M_NORMAL_MORDOR_FAST_MEMBER_SPEED			75	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MORDOR_CAVALRY_HORDE_SPEED		100
#define M_NORMAL_MORDOR_CAVALRY_MEMBER_SPEED		110	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MORDOR_CAVALRY_FAST_HORDE_SPEED		120
#define M_NORMAL_MORDOR_CAVALRY_FAST_MEMBER_SPEED		130	; A little faster so when the formation wheels the unit can catch up.


#define M_NORMAL_WILD_INFANTRY_HORDE_SPEED		50
#define M_NORMAL_WILD_INFANTRY_MEMBER_SPEED		55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_WILD_PIKEMEN_HORDE_SPEED			63
#define M_NORMAL_WILD_PIKEMEN_MEMBER_SPEED		67	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_WILD_FAST_HORDE_SPEED			65
#define M_NORMAL_WILD_FAST_MEMBER_SPEED			70	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_WILD_CAVALRY_HORDE_SPEED			90
#define M_NORMAL_WILD_CAVALRY_MEMBER_SPEED		100	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_WILD_CAVALRY_FAST_HORDE_SPEED		120
#define M_NORMAL_WILD_CAVALRY_FAST_MEMBER_SPEED		130	; A little faster so when the formation wheels the unit can catch up.


#define M_NORMAL_ELVEN_INFANTRY_HORDE_SPEED		50
#define M_NORMAL_ELVEN_INFANTRY_MEMBER_SPEED		55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ELVEN_PIKEMEN_HORDE_SPEED		50
#define M_NORMAL_ELVEN_PIKEMEN_MEMBER_SPEED		55	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ELVEN_FAST_HORDE_SPEED			60
#define M_NORMAL_ELVEN_FAST_MEMBER_SPEED			65	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ELVEN_CAVALRY_HORDE_SPEED		100
#define M_NORMAL_ELVEN_CAVALRY_MEMBER_SPEED		110	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_ELVEN_CAVALRY_FAST_HORDE_SPEED		90
#define M_NORMAL_ELVEN_CAVALRY_FAST_MEMBER_SPEED		100	; A little faster so when the formation wheels the unit can catch up.

;====================RotWK Horde Speed Data=========================================

#define M_NORMAL_FOOT_VERYFAST_HORDE_SPEED		63
#define M_NORMAL_FOOT_VERYFAST_MEMBER_SPEED		67	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_FOOT_FAST_HORDE_SPEED			55
#define M_NORMAL_FOOT_FAST_MEMBER_SPEED			60	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_FOOT_MED_HORDE_SPEED			45
#define M_NORMAL_FOOT_MED_MEMBER_SPEED			50	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_FOOT_SLOW_HORDE_SPEED			35
#define M_NORMAL_FOOT_SLOW_MEMBER_SPEED			40	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MOUNTED_VERYFAST_HORDE_SPEED		120
#define M_NORMAL_MOUNTED_VERYFAST_MEMBER_SPEED		125	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MOUNTED_FAST_HORDE_SPEED			110
#define M_NORMAL_MOUNTED_FAST_MEMBER_SPEED		115	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MOUNTED_MED_HORDE_SPEED			100
#define M_NORMAL_MOUNTED_MED_MEMBER_SPEED			105	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_MOUNTED_SLOW_HORDE_SPEED			85
#define M_NORMAL_MOUNTED_SLOW_MEMBER_SPEED		90	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_SIEGE_FAST_HORDE_SPEED			45
#define M_NORMAL_SIEGE_FAST_MEMBER_SPEED			50	; A little faster so when the formation wheels the unit can catch up.

#define M_NORMAL_SIEGE_MED_HORDE_SPEED			35
#define M_NORMAL_SIEGE_MED_MEMBER_SPEED			40	; A little faster so when the formation wheels the unit can catch up.




; ==================== HORDE SIZE ==========================

#define M_ORC_HORDE_SIZE                  		10  	; Orcs & Uruk Hai
#define M_EVIL_RIDER_HORDE_SIZE				5
#define M_EVIL_RIDER_LARGE_HORDE_SIZE			10
#define M_EVIL_MEN_BIG_HORDE_SIZE				15
#define M_EVIL_MEN_NORMAL_HORDE_SIZE			5
#define M_GOOD_MEN_HORDE_SIZE             		10   	; Actually any infantry right now
#define M_GOOD_MEN_SMALL_HORDE_SIZE       		5   	; Actually any infantry right now
#define M_GOOD_MEN_GIANT_HORDE_SIZE       		15  	; ??? It actually looks like a mistake that this and M_GOOD_MEN_HORDE_SIZE are different; may need to collapse the two
#define M_GOOD_RIDER_HORDE_SIZE           		5
#define M_GOOD_RIDER_SMALL_HORDE_SIZE     		3   	; Actually any infantry right now
#define M_GOOD_RIDER_LARGE_HORDE_SIZE     		10  	; ??? Another one where it looks like having two numbers was a mistake (since the alternate formation horde has the other number)
#define M_OATHBREAKER_HORDE_SIZE          		40
#define M_OATHBREAKER_SMALL_HORDE_SIZE    		16

;================ CRUSHING AND BEING CRUSHED ================

#define M_SUPER_INFANTRY_CRUSH_REVENGE_DAMAGE		250
#define M_ANTI_CAVALRY_INFANTRY_CRUSH_REVENGE_DAMAGE	250
#define M_BASIC_INFANTRY_CRUSH_REVENGE_DAMAGE		10
#define M_RANGED_INFANTRY_CRUSH_REVENGE_DAMAGE		5
				

#define M_MUMAKIL_CRUSH_DAMAGE				400
#define M_TOM_BOMBADIL_CRUSH_DAMAGE			400
#define M_BALROG_CRUSH_DAMAGE				200
#define M_KNIGHT_CRUSH_DAMAGE				80
#define M_SPIDER_CRUSH_DAMAGE				10
#define M_WARG_CRUSH_DAMAGE				60
#define M_TROLL_CRUSH_DAMAGE				10 
#define M_ROHIRRIM_CRUSH_DAMAGE				160
#define M_SPIDERRIDER_CRUSH_DAMAGE			160
#define M_RIVENDELLLANCER_CRUSH_DAMAGE			100
#define M_RIVENDELLARCHER_CRUSH_DAMAGE			100
#define M_DWARVEN_BATTLEWAGON_CRUSH_DAMAGE		300
#define M_SHELOB_CRUSH_DAMAGE				200
#define M_ROGASH_CRUSH_DAMAGE				400 ; I lowered this (was 160) because he doesn't really slow down any more

;===================== AI BONUSES =======================

#define M_EASY_AI_SINGLE_PLAYER_DAMAGE_MULT		25%
#define M_MEDIUM_AI_SINGLE_PLAYER_DAMAGE_MULT 	100%
#define M_HARD_AI_SINGLE_PLAYER_DAMAGE_MULT		120%
#define M_BRUTAL_AI_SINGLE_PLAYER_DAMAGE_MULT		150%

#define M_EASY_AI_MULTI_PLAYER_DAMAGE_MULT		100%
#define M_MEDIUM_AI_MULTI_PLAYER_DAMAGE_MULT		100%
#define M_HARD_AI_MULTI_PLAYER_DAMAGE_MULT		100%
#define M_BRUTAL_AI_MULTI_PLAYER_DAMAGE_MULT		100%


;==================== THREAT LEVELS ======================

	;-------HORDES--------

#define M_GOBLIN_FIGHTER_HORDE_THREAT 		100
#define M_GOBLIN_ARCHER_HORDE_THREAT 		100
#define M_WILD_SPIDERLING_HORDE_THREAT 		100
#define M_GOBLIN_SPIDERRIDER_HORDE_THREAT 	100
#define M_WILD_MAURADER_HORDE_THREAT 		100
#define M_WILD_MARAUDERSWORDS_HORDE_THREAT	100
#define M_MORDOR_FIGHTER_HORDE_THREAT 		100
#define M_MORDOR_BLACKORC_HORDE_THREAT		100	; BFME2 Expansion Pact Faction enhancement
#define M_MORDOR_ARCHER_HORDE_THREAT 		100
#define M_MORDOR_ORC_SCOUT_HORDE_THREAT 		15.0
#define M_MORDOR_GOBLINFIGHTER_HORDE_THREAT 	15.0
#define M_MORDOR_CORSAIRSOFUMBAR_HORDE_THREAT 	100
#define M_MORDOR_HARADRIM_ARCHER_HORDE_THREAT 	100
#define M_MORDOR_HARADRIMRIDERS_HORDE_THREAT	100
#define M_MORDOR_EASTERLING_HORDE_THREAT 		100
#define M_ISENGARD_FIGHTER_HORDE_THREAT 		100
#define M_ISENGARD_BERSERKER_HORDE_THREAT 	100	; BFME2 Expansion Pact Faction enhancement
#define M_ISENGARD_PIKEMAN_HORDE_THREAT 		100
#define M_ISENGARD_WILDMAN_HORDE_THREAT 		100
#define M_ISENGARD_URUKCROSSBOW_HORDE_THREAT 	100
#define M_ISENGARD_WARGRIDER_HORDE_THREAT 	100
#define M_ISENGARD_WARGPACK_HORDE_THREAT 		100
#define M_GONDOR_FIGHTER_HORDE_THREAT 		100
#define M_GONDOR_TOWERSHIELDGUARD_HORDE_THREAT 	100
#define M_GONDOR_SPEARMEN_HORDE_THREAT		100 
#define M_GONDOR_ARCHER_HORDE_THREAT 		100
#define M_GONDOR_RANGER_HORDE_THREAT 		100
#define M_GONDOR_KNIGHT_HORDE_THREAT 		100
#define	M_GONDOR_KNIGHTSOFDOL_HORDE_THREAT	200
#define M_ROHAN_ROHIRRIM_HORDE_THREAT 		100
#define M_ELVEN_MIRKWOODARCHER_HORDE_THREAT 	100
#define M_ELVEN_RIVENDELLLANCER_HORDE_THREAT 	100
#define M_ELVEN_RIVENDELLARCHER_HORDE_THREAT 	100
#define M_ELVEN_LORIENWARRIOR_HORDE_THREAT 	100
#define M_ELVEN_MITHLONDSENTRY_HORDE_THREAT 	100
#define M_ELVEN_LORIENARCHER_HORDE_THREAT 	100
#define M_DWARVEN_GUARDIAN_HORDE_THREAT 		100
#define M_DWARVEN_AXETHROWER_HORDE_THREAT 	100
#define M_DWARVEN_PHALANX_HORDE_THREAT 		100
#define M_DWARVEN_MENOFDALE_HORDE_THREAT 		100

	;-------EVIL--------

#define M_CAVE_TROLL_THREAT_LEVEL 		100
#define M_DROGOTH_THREAT_LEVEL 			400	; Originally 5.0
#define M_FIRE_DRAKE_THREAT_LEVEL 		200	; originally 100
#define M_GOBLIN_KING_THREAT_LEVEL 		400	; originally 100
#define M_AZOG_THREAT_LEVEL			300
#define M_MOUNTAIN_GIANT_THREAT_LEVEL 		100
#define M_SHELOB_THREAT_LEVEL 			400	; originally 100
#define M_MORDOR_MOUNTAINTROLL_THREAT_LEVEL 	100
#define M_MOUTH_OF_SAURON_THREAT_LEVEL 		200	; originally 100
#define M_RING_WRAITH_THREAT_LEVEL 		400	; originally 5.0
#define M_SAURON_THREAT_LEVEL 			500	; originally 100
#define M_SIEGETOWER_THREAT_LEVEL 		100
#define M_WITCHKING_THREAT_LEVEL 			400	; originally 100
#define M_ATTACK_TROLL_THREAT_LEVEL 		100
#define M_MORDOR_CATAPULT_THREAT_LEVEL 		100
#define M_MORDOR_DRUMMERTROLL_THREAT_LEVEL 	100
#define M_FELL_BEAST_THREAT_LEVEL 		350	; originally 100
#define M_GOTHMOG_THREAT_LEVEL 			400	; originally 100
#define M_GROND_THREAT_LEVEL 			200	; originally 100
#define M_LURTZ_THREAT_LEVEL 			300	; originally 100
#define M_ISENGARD_MINE_THREAT_LEVEL 		100
#define M_SARUMAN_THREAT_LEVEL 			500	; originally 100
#define M_SHARKU_THREAT_LEVEL 			250	; originally 100
#define M_ISENGARD_SIEGELADDER_THREAT_LEVEL 	100
#define M_WORMTONGUE_THREAT_LEVEL 		300	; originally 100
#define M_ISENGARD_BATTERINGRAM_THREAT_LEVEL 	100	; originally 100
#define M_ISENGARD_BALLISTA_THREAT_LEVEL 		100
#define M_EVILMEN_TRANSPORTSHIP_THREAT_LEVEL 	100
#define M_MUMAKIL_THREAT_LEVEL 			100
#define M_CORSAIRSHIP_THREAT_LEVEL 		100
#define M_BLACKRIDER_THREAT_LEVEL 		100
#define M_WYRM_THREAT_LEVEL 		       3000	; originally 5.0
#define M_WATCHER_THREAT_LEVEL 		       3500	; originally 5.0
#define M_BALROG_THREAT_LEVEL		       5000	; Originally 4.0 which was located in NeutralUnits.ini
#define M_SUMMONEDDRAGON_THREAT_LEVEL 		300	; originally 5.0
#define M_DRAGONSTRIKE_DRAGON_THREAT_LEVEL 	300	; originally 5.0
#define M_ISENGARD_BESERKER_THREAT_LEVEL 		100
#define M_HWALDAR_THREAT_LEVEL 			250	; originally 5.0
#define M_ANGMAR_MORGRAMIR_BOUNTY_VALUE		300

	;-------GOOD--------

#define M_GLOIN_THREAT_LEVEL 			300	; originally 100
#define M_GIMLI_THREAT_LEVEL 			300	; originally 100
#define M_DWARVEN_RAM_THREAT_LEVEL 		100
#define M_DWARVEN_BATTLEWAGON_THREAT_LEVEL 	100
#define M_DAIN_THREAT_LEVEL 			400	; originally 100
#define M_DWARVEN_CATAPULT_THREAT_LEVEL 		100
#define M_ELVEN_SHIP_THREAT_LEVEL 		100
#define M_ARWEN_THREAT_LEVEL 			250	; originally 100
#define M_TREEBEARD_THREAT_LEVEL 			300	; originally 100
#define M_ENT_INFANTRY_THREAT_LEVEL 		200	; originally 5.0
#define M_THARANDUIL_THREAT_LEVEL 		350	; originally 100
#define M_LEGOLAS_THREAT_LEVEL 			300	; originally 100
#define M_ISILDUR_THREAT_LEVEL 			200	; originally 5.0
#define M_HALDIR_THREAT_LEVEL 			200	; originally 100
#define M_GWAIHIR_THREAT_LEVEL 			200	; originally 100
#define M_GLORFINDEL_THREAT_LEVEL 		400	; originally 100
#define M_GALADRIEL_THREAT_LEVEL 			500	; originally 100
#define M_ELVEN_TRANSPORTSHIP_THREAT_LEVEL 	100
#define M_GANDALF_THREAT_LEVEL 			400	; originally 100
#define M_FRODO_THREAT_LEVEL 			100
#define M_FARAMIR_THREAT_LEVEL 			200	; originally 100
#define M_EOWYN_THREAT_LEVEL 			100
#define M_EOMER_THREAT_LEVEL 			300	; originally 100
#define M_BOROMIR_THREAT_LEVEL 			250	; originally 100
#define M_ARAGORN_THREAT_LEVEL 			400	; originally 100
#define M_DENETHOR_THREAT_LEVEL 			200	; originally 5.0
#define M_GAMLING_THREAT_LEVEL 			200	; originally 5.0
#define M_GONDOR_TREBUCHET_THREAT_LEVEL 		100
#define M_THEODEN_THREAT_LEVEL 			100
#define M_SAM_THREAT_LEVEL 			100
#define M_PIPPIN_THREAT_LEVEL 			100
#define M_MERRY_THREAT_LEVEL 			100
#define M_NOLDOR_THREAT_LEVEL			175

	;-------STRUCTURES--------

#define M_FACTORY_THREAT_LEVEL			150
#define M_WALL_THREAT_LEVEL			0
#define M_TOWER_THREAT_LEVEL			350
#define M_WALL_CATAPULT_THREAT_LEVEL		300
#define M_FORTRESS_THREAT_LEVEL			500
#define M_RESOURCE_THREAT_LEVEL			100
#define M_PROP_THREAT_LEVEL			0
#define M_LAIR_THREAT_LEVEL			200


;======================= SPELL DATA =========================

#define M_SPELL_HEAL_RADIUS_CURSOR		150.0    ; Cursor size for heal spell
#define M_SPELL_HEAL_RADIUS_UNIT_SCAN		150	;100.0    ; How far to scan for units to heal
#define M_SPELL_HEAL_RADIUS_HORDE_SCAN		170.0    ; A little bigger so that if some horde members are within the cursor, scan will find the horde brain

#define M_SPELL_REBUILD_RADIUS_CURSOR		300.0
#define M_SPELL_REBUILD_RADIUS_STRUCTURE_SCAN 	300.0	 

#define M_ELVEN_GIFT_REGEN_AMOUNT			10.0
#define M_ELVEN_GIFT_REGEN_DELAY			1000

#define M_SPELL_UNDERMINE_SPAWN_DAMAGE_RADIUS	200 ; balance
#define M_SPELL_UNDERMINE_AFFECTS_OBJECT_FILTER	ANY +INFANTRY +CAVALRY +MONSTER +MACHINE +HORDE +HERO

#define M_SPELL_RECHARGE_TIME_TIER_1		180000
#define M_SPELL_RECHARGE_TIME_TIER_2		360000
#define M_SPELL_RECHARGE_TIME_TIER_3		540000
#define M_SPELL_RECHARGE_TIME_TIER_4		720000
#define M_SPELL_RECHARGE_TIME_TIER_5		90000

;//---------Sunflare Info-----------
#define M_SPELL_SUNFLARE_EFFECT_RADIUS		200
#define M_SPELL_SUNFLARE_FIRE_DAMAGE		40
#define M_SPELL_SUNFLARE_FIRE_FUEL		500
#define M_SPELL_SUNFLARE_FIRE_MINMAX_BURNRATE	40
#define M_SPELL_SUNFLARE_DAMAGE			3000
#define M_SPELL_SUNFLARE_DURATION			20000
#define M_SPELL_SUNFLARE_RELOAD_TIME		600000
#define M_SPELL_SUNFLARE_VIEW_OBJECT_DURATION	10000
#define M_SPELL_SUNFLARE_VIEW_OBJECT_RANGE	200


;//====================== FIRE DATA ============================

;//----------------MEN OF THE WEST FIRE DATA--------------------

#define M_MEN_FARM_FIRE_FUEL				140
#define M_MEN_FARM_FIRE_MAX_BURN_RATE			20
#define M_MEN_FARM_FIRE_DECAY				5
#define M_MEN_FARM_FIRE_RESISTANCE			10

#define M_MEN_ARCHERY_RANGE_FIRE_FUEL			300
#define M_MEN_ARCHERY_RANGE_FIRE_MAX_BURN_RATE		20
#define M_MEN_ARCHERY_RANGE_FIRE_DECAY			5
#define M_MEN_ARCHERY_RANGE_FIRE_RESISTANCE		10

#define M_MEN_BARRACKS_FIRE_FUEL				300
#define M_MEN_BARRACKS_FIRE_MAX_BURN_RATE			20
#define M_MEN_BARRACKS_FIRE_DECAY				5
#define M_MEN_BARRACKS_FIRE_RESISTANCE			10

#define M_MEN_FORGE_FIRE_FUEL				100
#define M_MEN_FORGE_FIRE_MAX_BURN_RATE			20
#define M_MEN_FORGE_FIRE_DECAY				5
#define M_MEN_FORGE_FIRE_RESISTANCE			10

#define M_MEN_MARKETPLACE_FIRE_FUEL			200
#define M_MEN_MARKETPLACE_FIRE_MAX_BURN_RATE		20
#define M_MEN_MARKETPLACE_FIRE_DECAY			5
#define M_MEN_MARKETPLACE_FIRE_RESISTANCE			10

#define M_MEN_STABLE_FIRE_FUEL				300
#define M_MEN_STABLE_FIRE_MAX_BURN_RATE			20
#define M_MEN_STABLE_FIRE_DECAY				5
#define M_MEN_STABLE_FIRE_RESISTANCE			10

#define M_MEN_STATUE_FIRE_FUEL				100
#define M_MEN_STATUE_FIRE_MAX_BURN_RATE			20
#define M_MEN_STATUE_FIRE_DECAY				5
#define M_MEN_STATUE_FIRE_RESISTANCE			10

#define M_MEN_WELL_FIRE_FUEL				100
#define M_MEN_WELL_FIRE_MAX_BURN_RATE			20
#define M_MEN_WELL_FIRE_DECAY				5
#define M_MEN_WELL_FIRE_RESISTANCE			10

#define M_MEN_WORKSHOP_FIRE_FUEL				140
#define M_MEN_WORKSHOP_FIRE_MAX_BURN_RATE			20
#define M_MEN_WORKSHOP_FIRE_DECAY				5
#define M_MEN_WORKSHOP_FIRE_RESISTANCE			10

#define M_MEN_STONEMAKER_FIRE_FUEL			200
#define M_MEN_STONEMAKER_FIRE_MAX_BURN_RATE		20
#define M_MEN_STONEMAKER_FIRE_DECAY			5
#define M_MEN_STONEMAKER_FIRE_RESISTANCE			10

#define M_MEN_BATTLETOWER_FIRE_FUEL			140
#define M_MEN_BATTLETOWER_FIRE_MAX_BURN_RATE		20
#define M_MEN_BATTLETOWER_FIRE_DECAY			5
#define M_MEN_BATTLETOWER_FIRE_RESISTANCE			10

#define M_MEN_FORTRESS_FIRE_FUEL				100
#define M_MEN_FORTRESS_FIRE_MAX_BURN_RATE			20
#define M_MEN_FORTRESS_FIRE_DECAY				5
#define M_MEN_FORTRESS_FIRE_RESISTANCE			10

#define M_MEN_GARRISONEXPANSION_FIRE_FUEL			100
#define M_MEN_GARRISONEXPANSION_FIRE_MAX_BURN_RATE	20
#define M_MEN_GARRISONEXPANSION_FIRE_DECAY		5
#define M_MEN_GARRISONEXPANSION_FIRE_RESISTANCE		10

#define M_MEN_TOWEREXPANSION_FIRE_FUEL			100
#define M_MEN_TOWEREXPANSION_FIRE_MAX_BURN_RATE		20
#define M_MEN_TOWEREXPANSION_FIRE_DECAY			5
#define M_MEN_TOWEREXPANSION_FIRE_RESISTANCE		10

#define M_MEN_TREBUCHETEXPANSION_FIRE_FUEL		100
#define M_MEN_TREBUCHETEXPANSION_FIRE_MAX_BURN_RATE	20
#define M_MEN_TREBUCHETEXPANSION_FIRE_DECAY		5
#define M_MEN_TREBUCHETEXPANSION_FIRE_RESISTANCE		10


;//----------------CORRUPTED WILD FIRE DATA-------------

#define M_WILD_ARROWDENEXPANSION_FIRE_FUEL		100
#define M_WILD_ARROWDENEXPANSION_FIRE_MAX_BURN_RATE	20
#define M_WILD_ARROWDENEXPANSION_FIRE_DECAY		5
#define M_WILD_ARROWDENEXPANSION_FIRE_RESISTANCE		10

#define M_WILD_SPIDERHOLESEXPANSION_FIRE_FUEL		100
#define M_WILD_SPIDERHOLESEXPANSION_FIRE_MAX_BURN_RATE	20
#define M_WILD_SPIDERHOLESEXPANSION_FIRE_DECAY		5
#define M_WILD_SPIDERHOLESEXPANSION_FIRE_RESISTANCE	10

#define M_WILD_GIANTSENTRYEXPANSION_FIRE_FUEL		100
#define M_WILD_GIANTSENTRYEXPANSION_FIRE_MAX_BURN_RATE    20
#define M_WILD_GIANTSENTRYEXPANSION_FIRE_DECAY		5
#define M_WILD_GIANTSENTRYEXPANSION_FIRE_RESISTANCE	10


;//----------------ELVEN FIRE DATA--------------------

#define M_ELVEN_FORGE_FIRE_FUEL				140
#define M_ELVEN_FORGE_FIRE_MAX_BURN_RATE			20
#define M_ELVEN_FORGE_FIRE_DECAY				5
#define M_ELVEN_FORGE_FIRE_RESISTANCE			30

#define M_ELVEN_BARRACKS_FIRE_FUEL			140
#define M_ELVEN_BARRACKS_FIRE_MAX_BURN_RATE		20
#define M_ELVEN_BARRACKS_FIRE_DECAY			5
#define M_ELVEN_BARRACKS_FIRE_RESISTANCE			20

#define M_ELVEN_MALLORNTREE_FIRE_FUEL			400
#define M_ELVEN_MALLORNTREE_FIRE_MAX_BURN_RATE		30
#define M_ELVEN_MALLORNTREE_FIRE_DECAY			5
#define M_ELVEN_MALLORNTREE_FIRE_RESISTANCE		4

#define M_ELVEN_GREENPASTURE_FIRE_FUEL			400
#define M_ELVEN_GREENPASTURE_FIRE_MAX_BURN_RATE		30
#define M_ELVEN_GREENPASTURE_FIRE_DECAY			5
#define M_ELVEN_GREENPASTURE_FIRE_RESISTANCE		4

#define M_ELVEN_ENTMOOT_FIRE_FUEL				400
#define M_ELVEN_ENTMOOT_FIRE_MAX_BURN_RATE		30
#define M_ELVEN_ENTMOOT_FIRE_DECAY			5
#define M_ELVEN_ENTMOOT_FIRE_RESISTANCE			10

#define M_ELVEN_BATTLETOWER_FIRE_FUEL			400
#define M_ELVEN_BATTLETOWER_FIRE_MAX_BURN_RATE		30
#define M_ELVEN_BATTLETOWER_FIRE_DECAY			5
#define M_ELVEN_BATTLETOWER_FIRE_RESISTANCE		10

#define M_ELVEN_ELVENMIRROR_FIRE_FUEL			100
#define M_ELVEN_ELVENMIRROR_FIRE_MAX_BURN_RATE		30
#define M_ELVEN_ELVENMIRROR_FIRE_DECAY			5
#define M_ELVEN_ELVENMIRROR_FIRE_RESISTANCE		50

#define M_ELVEN_STATUE_FIRE_FUEL				80
#define M_ELVEN_STATUE_FIRE_MAX_BURN_RATE			30
#define M_ELVEN_STATUE_FIRE_DECAY				5
#define M_ELVEN_STATUE_FIRE_RESISTANCE			25


;------------------TRANSPORT SLOTS---------------------

#define M_TRANSPORTSLOTCOUNT_NOT_TRANSPORTABLE		0
#define M_TRANSPORTSLOTCOUNT_HERO				1
#define M_TRANSPORTSLOTCOUNT_DOZER			1
#define M_TRANSPORTSLOTCOUNT_SIEGE			1
#define M_TRANSPORTSLOTCOUNT_UNIT				1
#define M_TRANSPORTSLOTCOUNT_MONSTER			1
#define M_TRANSPORTSLOTCOUNT_SMALL_HORDE			1
#define M_TRANSPORTSLOTCOUNT_LARGE_HORDE			1
#define M_TRANSPORTSLOTCOUNT_MACHINE			1


;//------------CREATE A HERO ABILITY COSTS -------------

#define M_CAH_TELEPORTLEVEL1_COST 		500
#define M_CAH_TELEPORTLEVEL2_COST 		500
#define M_CAH_TELEPORTLEVEL3_COST 		500
#define M_CAH_ATHELAS_COST 			200
#define M_CAH_ELENDIL_COST 			100
#define M_CAH_BLADEMASTER_COST 			300
#define M_CAH_WORDOFPOWER_COST 			1500
#define M_CAH_FORCEPUSHLEVEL1_COST 		100
#define M_CAH_FORCEPUSHLEVEL2_COST 		300
#define M_CAH_FORCEPUSHLEVEL3_COST 		600
#define M_CAH_CONVERTENEMY_L1_COST 		1500
#define M_CAH_CONVERTENEMY_L2_COST 		2500
#define M_CAH_CURSE_LEVEL1_COST 			300
#define M_CAH_CURSE_LEVEL2_COST 			400
#define M_CAH_CURSE_LEVEL3_COST 			500
#define M_CAH_FIREBALL_LEVEL1_COST 		100
#define M_CAH_FIREBALL_LEVEL2_COST 		300
#define M_CAH_FIREBALL_LEVEL3_COST 		600
#define M_CAH_LIGHTBLAST_LEVEL1_COST 		100
#define M_CAH_LIGHTBLAST_LEVEL2_COST 		300
#define M_CAH_LIGHTBLAST_LEVEL3_COST 		600
#define M_CAH_SUMMONALLIES_LEVEL1_COST 		300
#define M_CAH_SUMMONALLIES_LEVEL2_COST 		300
#define M_CAH_SUMMONALLIES_LEVEL3_COST 		400
#define M_CAH_SUMMONALLIES_LEVEL4_COST 		500
#define M_CAH_BLINK_COST 				500
#define M_CAH_TOGGLEWEAPON_LEVEL1_COST 		100
#define M_CAH_TOGGLEWEAPON_LEVEL2_COST 		200
#define M_CAH_BALLLIGHTNING_L1_COST 		100
#define M_CAH_BALLLIGHTNING_L2_COST 		300
#define M_CAH_BALLLIGHTNING_L3_COST 		600
#define M_CAH_TRUESIGHT_COST 			100
#define M_CAH_INVULNERABILITY_LEVEL1_COST 	400
#define M_CAH_INVULNERABILITY_LEVEL2_COST 	500
#define M_CAH_INVULNERABILITY_LEVEL3_COST 	1500
#define M_CAH_CRIPPLESTRIKERANGED_LEVEL1_COST 	100
#define M_CAH_CRIPPLESTRIKERANGED_LEVEL2_COST 	300
#define M_CAH_CRIPPLESTRIKERANGED_LEVEL3_COST 	500
#define M_CAH_CRIPPLESTRIKERANGED_LEVEL4_COST 	600
#define M_CAH_CRIPPLESTRIKEMELEE_LEVEL1_COST 	100
#define M_CAH_CRIPPLESTRIKEMELEE_LEVEL2_COST 	400
#define M_CAH_TOGGLEMOUNTED_COST 			200
#define M_CAH_TRAINALLIES_LEVEL_1_COST 		100
#define M_CAH_TRAINALLIES_LEVEL_2_COST 		100
#define M_CAH_TRAINALLIES_LEVEL_3_COST 		300
#define M_CAH_WORDOFPOULTRY_LEVEL1_COST 		500
#define M_CAH_WORDOFPOULTRY_LEVEL2_COST 		1000
#define M_CAH_SHIELDCRUSH_LEVEL1_COST 		100
#define M_CAH_SHIELDCRUSH_LEVEL2_COST 		400
#define M_CAH_STARLIGHT_COST 			100
#define M_CAH_THROWSPEAR_LEVEL1_COST 		100
#define M_CAH_THROWSPEAR_LEVEL2_COST 		100
#define M_CAH_THROWSPEAR_LEVEL3_COST 		300
#define M_CAH_HEROICCHARGE_COST 			500
#define M_CAH_OILFIRE_LEVEL1_COST 		100
#define M_CAH_OILFIRE_LEVEL2_COST 		100
#define M_CAH_OILFIRE_LEVEL3_COST 		300
#define M_CAH_INSPIREFEAR_LEVEL1_COST 		100
#define M_CAH_INSPIREFEAR_LEVEL2_COST 		100
#define M_CAH_HOWLOFRAGE_LEVEL1_COST 		100
#define M_CAH_HOWLOFRAGE_LEVEL2_COST 		100
#define M_CAH_HOWLOFRAGE_LEVEL3_COST 		300
#define M_CAH_BERSERKERRAGE_LEVEL1_COST 		100
#define M_CAH_BERSERKERRAGE_LEVEL2_COST		100
#define M_CAH_BERSERKERRAGE_LEVEL3_COST 		300
#define M_CAH_BERSERKERRAGE_LEVEL4_COST 		500
#define M_CAH_FIREBOMB_LEVEL1_COST 		100
#define M_CAH_FIREBOMB_LEVEL2_COST 		100
#define M_CAH_FIREBOMB_LEVEL3_COST 		300
#define M_CAH_FIREBOMB_LEVEL4_COST		500
#define M_CAH_POISONATTACK_LEVEL1_COST 		100
#define M_CAH_POISONATTACK_LEVEL2_COST 		100
#define M_CAH_POISONATTACK_LEVEL3_COST 		300
#define M_CAH_POISONATTACK_LEVEL4_COST 		500
#define M_CAH_UNTAMEDALLEGIANCE_COST 		100
#define M_CAH_ATTACHSPY_LEVEL1_COST 		50
#define M_CAH_ATTACHSPY_LEVEL2_COST 		100
#define M_CAH_COERCE_LEVEL1_COST 			700
#define M_CAH_COERCE_LEVEL2_COST 			1300
#define M_CAH_COERCE_LEVEL3_COST 			2000
#define M_CAH_DISGUISE_COST 			200
#define M_CAH_STEALTH_LEVEL1_COST 		100
#define M_CAH_STEALTH_LEVEL2_COST 		100
#define M_CAH_STEALTH_LEVEL3_COST 		300
#define M_CAH_STEALMONEY_LEVEL1_COST 		200
#define M_CAH_STEALMONEY_LEVEL2_COST 		400
#define M_CAH_STEALMONEY_LEVEL3_COST 		600
#define M_CAH_HEROASSASSIN_LEVEL1_COST 		100
#define M_CAH_HEROASSASSIN_LEVEL2_COST 		300
#define M_CAH_HEROASSASSIN_LEVEL3_COST 		500
#define M_CAH_HEROASSASSIN_LEVEL4_COST 		600
#define M_CAH_RAINOFARROWS_LEVEL1_COST 		200
#define M_CAH_RAINOFARROWS_LEVEL2_COST 		400
#define M_CAH_RAINOFARROWS_LEVEL3_COST 		400
#define M_CAH_HEALING_LEVEL1_COST 		100
#define M_CAH_HEALING_LEVEL2_COST 		400
#define M_CAH_ARROWBONUS_LEVEL1_COST 		300
#define M_CAH_ARROWBONUS_LEVEL2_COST 		300
#define M_CAH_ARROWBONUS_LEVEL3_COST 		400
#define M_CAH_ARROWBONUS_LEVEL4_COST 		500
#define M_CAH_SUMMONFAMILIAR_LEVEL1_COST 		100
#define M_CAH_SUMMONFAMILIAR_LEVEL2_COST 		100
#define M_CAH_SUMMONFAMILIAR_LEVEL3_COST 		300
#define M_CAH_SPAWNTORNADO_LEVEL1_COST 		300
#define M_CAH_SPAWNTORNADO_LEVEL2_COST 		700
#define M_CAH_SPAWNTORNADO_LEVEL3_COST 		1000
#define M_CAH_AXETHROW_LEVEL1_COST 		100
#define M_CAH_AXETHROW_LEVEL2_COST 		100
#define M_CAH_AXETHROW_LEVEL3_COST 		300
#define M_CAH_EARTHSHAKER_LEVEL1_COST 		200
#define M_CAH_EARTHSHAKER_LEVEL2_COST 		500
#define M_CAH_EARTHSHAKER_LEVEL3_COST 		800
#define M_CAH_LEAP_LEVEL1_COST 			200
#define M_CAH_LEAP_LEVEL2_COST 			300
#define M_CAH_CHARGE_LEVEL1_COST 			100
#define M_CAH_CHARGE_LEVEL2_COST 			100
#define M_CAH_CHARGE_LEVEL3_COST 			300
#define M_CAH_SAPPER_LEVEL1_COST 			100
#define M_CAH_SAPPER_LEVEL2_COST 			100
#define M_CAH_SAPPER_LEVEL3_COST 			300
#define M_CAH_BOMBARD_LEVEL1_COST 		100
#define M_CAH_BOMBARD_LEVEL2_COST 		300
#define M_CAH_BOMBARD_LEVEL3_COST 		400
#define M_CAH_TOUGHNESS_COST 			200
#define M_CAH_BATTLERAGE_LEVEL1_COST 		100
#define M_CAH_BATTLERAGE_LEVEL2_COST 		100
#define M_CAH_BATTLERAGE_LEVEL3_COST 		300
#define M_CAH_BATTLERAGE_LEVEL4_COST 		500
#define M_CAH_LEADERSHIP_COST 			200
#define M_CAH_DOMINATETROLL_COST			200


;//-----------------------------TECH BUILDINGS----------------------------------

;//-----------------------------INN----------------------------------------
#define M_INN_UNIT_BUILDCOST_DWARVEN			150
#define M_INN_UNIT_BUILDCOST_ELVEN			50
#define M_INN_UNIT_BUILDCOST_MEN				250
#define M_INN_UNIT_BUILDCOST_MORDOR			200
#define M_INN_UNIT_BUILDCOST_ISENGARD			150	; originally 200
#define M_INN_UNIT_BUILDCOST_WILD				200

;//-----------------------------OUTPOST----------------------------------------
#define M_OUTPOST_MONEY_TIME				10000
#define	M_OUTPOST_MONEY_AMOUNT				60
#define	M_OUTPOST_INITIAL_CAPTURE_BONUS			0

;//-------------------------WOTR-----------------------------------------------
#define M_GAIN_PER_FORTRESS 300
#define M_GAIN_PER_FARM 300
#define M_FERTILE_TERRITORY_BONUS 500
#define M_WOTR_FARM_COST 0
#define M_WOTR_BARRACKS_COST 500
#define M_WOTR_FORTRESS_COST 1500
#define M_WOTR_FORGE_COST 500
